org.omg.CosTime
Class _UTOStub
public
class
_UTOStub
extends ObjectImpl
implements UTO
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.
public
UTO absolute_time()
Operation absolute_time
Operation compare_time
public long inaccuracy()
Read accessor for inaccuracy attribute
Returns: the attribute value
Operation interval
public short tdf()
Read accessor for tdf attribute
Returns: the attribute value
public long time()
Read accessor for time attribute
Returns: the attribute value
public
TIO time_to_interval(
UTO uto)
Operation time_to_interval
Read accessor for utc_time attribute
Returns: the attribute value
public String[] _ids()