Integration of OCCT 6.5.0 from SVN
[occt.git] / src / StepBasic / StepBasic_LocalTime.cdl
1 -- File:        LocalTime.cdl
2 -- Created:     Fri Dec  1 11:11:22 1995
3 -- Author:      EXPRESS->CDL V0.2 Translator
4 -- Copyright:   Matra-Datavision 1993
5
6
7 class LocalTime from StepBasic 
8
9 inherits TShared from MMgt
10
11 uses
12
13         Integer from Standard, 
14         Real from Standard, 
15         CoordinatedUniversalTimeOffset from StepBasic, 
16         Boolean from Standard
17 is
18
19         Create returns mutable LocalTime;
20         ---Purpose: Returns a LocalTime
21
22         Init (me : mutable;
23               aHourComponent : Integer from Standard;
24               hasAminuteComponent : Boolean from Standard;
25               aMinuteComponent : Integer from Standard;
26               hasAsecondComponent : Boolean from Standard;
27               aSecondComponent : Real from Standard;
28               aZone : mutable CoordinatedUniversalTimeOffset from StepBasic) is virtual;
29
30         -- Specific Methods for Field Data Access --
31
32         SetHourComponent(me : mutable; aHourComponent : Integer);
33         HourComponent (me) returns Integer;
34         SetMinuteComponent(me : mutable; aMinuteComponent : Integer);
35         UnSetMinuteComponent (me:mutable);
36         MinuteComponent (me) returns Integer;
37         HasMinuteComponent (me) returns Boolean;
38         SetSecondComponent(me : mutable; aSecondComponent : Real);
39         UnSetSecondComponent (me:mutable);
40         SecondComponent (me) returns Real;
41         HasSecondComponent (me) returns Boolean;
42         SetZone(me : mutable; aZone : mutable CoordinatedUniversalTimeOffset);
43         Zone (me) returns mutable CoordinatedUniversalTimeOffset;
44
45 fields
46
47         hourComponent : Integer from Standard;
48         minuteComponent : Integer from Standard;   -- OPTIONAL can be NULL
49         secondComponent : Real from Standard;   -- OPTIONAL can be NULL
50         zone : CoordinatedUniversalTimeOffset from StepBasic;
51         hasMinuteComponent : Boolean from Standard;
52         hasSecondComponent : Boolean from Standard;
53
54 end LocalTime;