new
Return
LocalTime.
Parameters
hour In24
Hour of the day with range 0-23.
minute
Minute of the hour with range 0-59.
second
Second of the minute with range 0-59.
nano Of Second
Nano-of-second to represent, from 0 to 999,999,999.
fun new(hour: Int, minute: Int = 0, second: Int = 0, nanoOfSecond: Int = 0, isAm: Boolean): LocalTime
Return
LocalTime.
Parameters
hour
Hour of the day with range 0-23.
minute
Minute of the hour with range 0-59.
second
Second of the minute with range 0-59.
nano Of Second
Nano-of-second to represent, from 0 to 999,999,999.
is Am
If true, sets assumes hour is in the AM, else PM.
Return
LocalTime.
Parameters
epoch Milliseconds
Epoch time, aka Unix time, are seconds elapsed since January 1st 1970 at 00:00:00 UTC.