core / io.islandtime / Time / fromNanosecondOfDay

fromNanosecondOfDay

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86) fun fromNanosecondOfDay(nanosecondOfDay: Long): Time

Creates a Time from the nanosecond of the day.

Parameters

nanosecondOfDay - the nanosecond of the day

Exceptions

DateTimeException - if the time is invalid

Return
a new Time