//core/io.islandtime.measures/Nanoseconds/Companion
Companion¶
common
object Companion
Properties¶
Name | Summary |
---|---|
MAX | common val MAX: Nanoseconds The largest supported value. |
MIN | common val MIN: Nanoseconds The smallest supported value. |
Functions¶
Name | Summary |
---|---|
between | common fun Nanoseconds.Companion.between(start: DateTime, endExclusive: DateTime): Nanoseconds Returns the number of nanoseconds between two date-times, which are assumed to be at the same UTC offset. In general, it's more appropriate to calculate duration using Instant or ZonedDateTime as any daylight savings rules won't be taken into account when working with DateTime directly. common fun Nanoseconds.Companion.between(start: TimePoint<*>, endExclusive: TimePoint<*>): Nanoseconds Returns the number of nanoseconds between two time points. |