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.
Method Summary
UTOabsolute_time()
Operation absolute_time
TimeComparisoncompare_time(ComparisonType comparison_type, UTO uto)
Operation compare_time
longinaccuracy()
Read accessor for inaccuracy attribute
TIOinterval()
Operation interval
shorttdf()
Read accessor for tdf attribute
longtime()
Read accessor for time attribute
TIOtime_to_interval(UTO uto)
Operation time_to_interval
UtcTutc_time()
Read accessor for utc_time attribute
String[]_ids()

Method Detail

absolute_time

public UTO absolute_time()
Operation absolute_time

compare_time

public TimeComparison compare_time(ComparisonType comparison_type, UTO uto)
Operation compare_time

inaccuracy

public long inaccuracy()
Read accessor for inaccuracy attribute

Returns: the attribute value

interval

public TIO interval()
Operation interval

tdf

public short tdf()
Read accessor for tdf attribute

Returns: the attribute value

time

public long time()
Read accessor for time attribute

Returns: the attribute value

time_to_interval

public TIO time_to_interval(UTO uto)
Operation time_to_interval

utc_time

public UtcT utc_time()
Read accessor for utc_time attribute

Returns: the attribute value

_ids

public String[] _ids()