fromSecondsSinceStartOfDay

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

seconds

the number of seconds since the start of the day

nanosecondAdjustment

the number of additional nanoseconds, from 0 - 999,999,999

Throws

if the time is invalid