core / io.islandtime / Time / fromNanosecondsSinceStartOfDay

fromNanosecondsSinceStartOfDay

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86) fun fromNanosecondsSinceStartOfDay(nanoseconds: LongNanoseconds): Time

Creates the Time at a number of nanoseconds since the start of the day.

Parameters

nanoseconds - the number of nanoseconds since the start of the day

Exceptions

DateTimeException - if the time is invalid

Return
a new Time