org.omg.CosTime
Interface UTOOperations

All Known Subinterfaces:
UTO
All Known Implementing Classes:
_UTOStub, UTOPOA, UTOPOATie

public interface UTOOperations

The Uto provides various operations on basic time. These include the following groups of operations: - Construction of a UTO from piece parts, and extraction of piece parts from a UTO - Comparaison of time. - Conversion from relative to absolute time, and conversion to an interval. Of these, the first operation is required for completenesss,since in its absence it would be difficult to provide a time input to the timer event handler, for example. The second operation is required by the RFP, and the third is required for completeness and usability. The Uto interface corresponds to an object that contains utc time,and is the means for manipulating the time contained in the object. This interface has opearations for getting a UtcT type data structure containing the current value of time in the object, as well as operations for getting the values of individual fields of utc time, getting absolute time from relative time, and comparing and doing bounds operations on UTOs. The UTO interface does not provide any operation for modifying the time in the object. It is intended that UTOs are immutable.


Method Summary
 UTO absolute_time()
          Operation absolute_time
 TimeComparison compare_time(ComparisonType comparison_type, UTO uto)
          Operation compare_time
 long inaccuracy()
          Read accessor for inaccuracy attribute
 TIO interval()
          Operation interval
 short tdf()
          Read accessor for tdf attribute
 TIO time_to_interval(UTO uto)
          Operation time_to_interval
 long time()
          Read accessor for time attribute
 UtcT utc_time()
          Read accessor for utc_time attribute
 

Method Detail

time

long time()
Read accessor for time attribute

Returns:
the attribute value

inaccuracy

long inaccuracy()
Read accessor for inaccuracy attribute

Returns:
the attribute value

tdf

short tdf()
Read accessor for tdf attribute

Returns:
the attribute value

utc_time

UtcT utc_time()
Read accessor for utc_time attribute

Returns:
the attribute value

absolute_time

UTO absolute_time()
Operation absolute_time


compare_time

TimeComparison compare_time(ComparisonType comparison_type,
                            UTO uto)
Operation compare_time


time_to_interval

TIO time_to_interval(UTO uto)
Operation time_to_interval


interval

TIO interval()
Operation interval