CosTime_UTO
This module implements the OMG CosTime::UTO interface.
- Provided by: erlang-manpages (Version: 1:18.3-dfsg-1ubuntu3.1)
- Source: erlang
- Report a bug
This module implements the OMG CosTime::UTO interface.
To get access to the record definitions for the structures use:
-include_lib("cosTime/include/*.hrl").
'_get_time'(UTO) -> ulonglong()
Types:
This operation returns the time associated with the target object.
'_get_inaccuracy'(UTO) -> ulonglong()
Types:
This operation returns the inaccuracy associated with the target object.
'_get_tdf'(UTO) -> short()
Types:
This operation returns the time displacement factor associated with the target object.
'_get_utc_time'(UTO) -> UtcT
Types:
This operation returns the data associated with the target object in Utc form.
absolute_time(UTO) -> OtherUTO
Types:
This operation create a new UTO object representing the time in the target object added to current time (UTC). The time base is 15 october 1582 00:00. Comparing two time objects which use different time base is, by obvious reasons, pointless. Raises DATA_CONVERSION if causes an overflow. This operation is only useful if the target object represents a relative time.
compare_time(UTO, ComparisonType, OtherUTO) -> Reply
Types:
This operation compares the time associated with the target object and the given UTO object. The different ComparisonType are:
time_to_interval(UTO, OtherUTO) -> TIO
Types:
This operation returns a TIO representing the interval between the target object and the given UTO midpoint times. The inaccuracy in the objects are not taken into consideration.
interval(UTO) -> TIO
Types:
This operation creates a TIO object representing the error interval around the time value represented by the target object, i.e., TIO.upper_bound = UTO.time+UTO.inaccuracy and TIO.lower_bound = UTO.time-UTO.inaccuracy.