fromSecondOfDay

fun fromSecondOfDay(secondOfDay: Int, nanosecond: Int = 0): Time

Creates a Time from the second of the day and optionally, the number of nanoseconds within that second.

Return

a new Time

Parameters

secondOfDay

the second of the day

nanosecond

the nanosecond of the second, from 0 - 999,999,999

Throws

if the time is invalid