Array of two integers representing the hours and minutes, respectively. This value is stored by reference.
Array of two integers representing the hours and minutes, respectively.
The hours as an integer.
The minutes as an integer.
The time is converted to a new Date object.
Convert the current time to total minutes. Eg, if the time is 1:00, toMinutes()
returns
60.
Returns a string representation of the current time as AM/PM time.
Eg, if the time is 13:28 the return value will be "1:28pm"
Generated using TypeDoc
The Time class stores HH:MM times and provides time arithmetic functions for it.