Time¶
The Time object represents time.
classDiagram
direction LR
Time --> TimeDifference
class TimeDifference{
}
class Time{
string iso8601
TimeDifference timeDifference
int hours
int minutes
int seconds
int timeInSeconds
string time
string timeShort
}
It is possible to render the time by rendering the object directly.
Properties¶
| Attribute name | Type | Description |
|---|---|---|
| iso8601 | string |
The ISO 8601 formatted time string |
| timeDifference | TimeDifference |
The TimeDifference object that represents the difference between 2 moments in time. |
| hours | int |
Number of hours |
| minutes | int |
Number of minutes (from 0 to 59) |
| seconds | int |
Number of seconds (from 0 to 59) |
| timeInSeconds | int |
Time representation in seconds |
| time | string |
Formatted value of time |
| timeShort | string |
Formatted value of time without seconds |