1CosTime_TimeService(3)     Erlang Module Definition     CosTime_TimeService(3)
2
3
4

NAME

6       CosTime_TimeService  - This module implements the OMG CosTime::TimeSer‐
7       vice interface.
8

DESCRIPTION

10       To get access to the record definitions for the structures use:
11       -include_lib("cosTime/include/*.hrl").
12

EXPORTS

14       universal_time(TimeService) -> Reply
15
16              Types:
17
18                 TimeService = #objref
19                 Reply  =  UTO  |  {'EXCEPTION",   #'TimerService_TimeUnavail‐
20                 able'{}}
21                 UTO = #objref
22
23              This operation returns the current time and the Inaccuracy given
24              when starting this application in a UTO. The  time  base  is  15
25              october 1582 00:00. Comparing two time objects which use differ‐
26              ent time base is, by obvious reasons, pointless.
27
28       new_universal_time(TimeService, Time, Inaccuracy, Tdf) -> UTO
29
30              Types:
31
32                 TimeService = UTO = #objref
33                 Time = Inaccuracy = ulonglong()
34                 Tdf = short()
35
36              This operation creates a new UTO object  representing  the  time
37              parameters  given.  This is the only way to create a UTO with an
38              arbitrary time from its components. This is  useful  when  using
39              the Timer Event Service.
40
41       uto_from_utc(TimeService, Utc) -> UTO
42
43              Types:
44
45                 TimeService = UTO = #objref
46                 Utc = #'TimeBase_UtcT'{time, inacclo, inacchi, tdf}
47                 time = ulonglong()
48                 inacclo = ulong()
49                 inacchi = ushort()
50                 tdf = short()
51
52              This  operation  is used to create a UTO given a time in the Utc
53              form.
54
55       new_interval(TimeService, Lower, Upper) -> TIO
56
57              Types:
58
59                 TimeService = TIO = #objref
60                 Lower = Upper = ulonglong()
61
62              This operation is used to create a new TIO object,  representing
63              the  input  parameters. If Lower is greater than Upper BAD_PARAM
64              is raised.
65
66
67
68Ericsson AB                       cosTime 5.0           CosTime_TimeService(3)
Impressum