//core/io.islandtime/Time/Companion/fromSecondsSinceStartOfDay
fromSecondsSinceStartOfDay¶
common
fun fromSecondsSinceStartOfDay(seconds: Seconds, nanosecondAdjustment: Nanoseconds = 0.nanoseconds): Time
Creates the Time at a number of seconds since the start of the day and optionally, a number of additional nanoseconds.
Return¶
a new Time
Parameters¶
common
seconds | the number of seconds since the start of the day |
nanosecondAdjustment | the number of additional nanoseconds, from 0 - 999,999,999 |
Throws¶
DateTimeException | if the time is invalid |