Defined in DateTime.Def Inherits from Object Inherits from Ordered Telescript predefined 84
You'll use class Time any time you need to hold a time value.
Instantiate: sometimes Subclass: almost never Call its methods: rarely
You'll rarely call the methods of class Time. In fact, a number of the methods defined by class Time (such as Globalize and Localize) are provided for compatability with Telescript, but do nothing useful at this time.
Class Time defines the following methods:
Method | Description |
---|---|
Order | Overrides Order to compare days and miliseconds |
EncodePredefined | Overrides EncodePredefined to convert to Universal Time |
DecodePredefined | Overrides DecodePredefined to convert to local time |
MatchesInstance | Overrides MatchesInstance to compare days and miliseconds. Will ignore flags |
SetToNow | Sets days and miliseconds to the current local valuel |
Implemented for Telescript, | but currently do nothing |
Globalize | Provided for Telescript compatibility |
Localize | Provided for Telescript compatibility |
Adjust | Provided for Telescript compatibility |
Initialize | Provided for Telescript compatibility |
Interval | Provided for Telescript compatibility |
Class Time defines the following attributes:
Field | Type | Description |
---|---|---|
days | Signed | Used by the Days attribute |
miliseconds | Signed | Used by the Milliseconds attribute |
Class Time defines the following fields:
Field | Type | Description |
---|---|---|
days | Signed | Used by the Days attribute |
miliseconds | Signed | Used by the Milliseconds attribute |
flags | Unsigned | Reserved for future use |