Companion
object Companion
Content copied to clipboard
Properties
Extensions
between
Link copied to clipboard
fun Microseconds.Companion.between(start: DateTime, endExclusive: DateTime): Microseconds
Content copied to clipboard
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.
fun Microseconds.Companion.between(start: TimePoint<*>, endExclusive: TimePoint<*>): Microseconds
Content copied to clipboard
Returns the number of whole microseconds between two time points.