- Source
Members
(static, readonly) ClockFormat
Possible clock formats
Name | Type | Description |
---|---|---|
h12 | ||
h24 |
- Source
Methods
(static) format12HourTime() → {string}
format12HourTime: Returns a string with the current time formatted for a 12 hour clock
- Source
Returns:
current time formatted for a 12 hour clock
- Type:
- string
(static) format24HourTime() → {string}
format24HourTime: Returns a string with the current time formatted for a 24 hour clock
- Source
Returns:
current time formatted for a 24 hour clock
- Type:
- string
(static) formatTimeAsString() → {string}
formatTimeAsString: Returns a string with the current time formatted for either a 12 or 24 hour clock
- Source
Returns:
current time formatted for either a 12 hour or 24 hour clock
- Type:
- string
(static) init() → {void}
- Source
Returns:
- Type:
- void
(static) onCurrentTimeTimerFire() → {void}
onCurrentTimeTimerFire: Code that runs every time the currentTimeTimer fires
- Source
Returns:
- Type:
- void