The hour-of-day to represent, from 0 to 23
The minute-of-hour to represent, from 0 to 59
The second-of-minute to represent, from 0 to 59
The nano-of-second to represent, from 0 to 999,999,999
Returns the string representation of this local time.
A string in the form HH:mm:ss.SSS (9 digits, nano second precision). The constructed string is zero-padded from left. If nanosecond is 0, it is not included in the constructed string.
Constructs a new instance from Date.
must be a valid Date. date.getTime()
should be not NaN
Constructs a new LocalTime object from timeString.
A string in the form HH:mm:ss.SSS, where the last part represents nanoseconds and optional. At most 9 digits allowed for nanosecond value. If more than 9 digits are given, the first 9 of them are used.
Generated using TypeDoc
Local time object