Skip to content

//core/io.islandtime.measures/Microseconds/Companion

Companion

common

object Companion

Properties

Name Summary
MAX

common


val MAX: Microseconds

The largest supported value.
MIN

common


val MIN: Microseconds

The smallest supported value.

Functions

Name Summary
between

common


fun Microseconds.Companion.between(start: DateTime, endExclusive: DateTime): Microseconds

Returns the number of whole microseconds 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 Microseconds.Companion.between(start: TimePoint<*>, endExclusive: TimePoint<*>): Microseconds

Returns the number of whole microseconds between two time points.