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