Microseconds
Constructors
Microseconds
Link copied to clipboard
Types
Functions
compare To
Link copied to clipboard
div
Link copied to clipboard
Returns this duration divided by a scalar value. @throws ArithmeticException if overflow occurs or the scalar is zero
minus
Link copied to clipboard
plus
Link copied to clipboard
rem
Link copied to clipboard
Returns the remainder of this duration divided by a scalar value.
times
Link copied to clipboard
Multiplies this duration by a scalar value. @throws ArithmeticException if overflow occurs
to Components
Link copied to clipboard
inline fun <T> toComponents(action: (milliseconds: Milliseconds, microseconds: Microseconds) -> T): T
Content copied to clipboard
inline fun <T> toComponents(action: (seconds: Seconds, milliseconds: Milliseconds, microseconds: Microseconds) -> T): T
Content copied to clipboard
inline fun <T> toComponents(action: (minutes: Minutes, seconds: Seconds, milliseconds: Milliseconds, microseconds: Microseconds) -> T): T
Content copied to clipboard
inline fun <T> toComponents(action: (hours: Hours, minutes: Minutes, seconds: Seconds, milliseconds: Milliseconds, microseconds: Microseconds) -> T): T
Content copied to clipboard
inline fun <T> toComponents(action: (days: Days, hours: Hours, minutes: Minutes, seconds: Seconds, milliseconds: Milliseconds, microseconds: Microseconds) -> T): T
Content copied to clipboard
to Component Values
Link copied to clipboard
inline fun <T> toComponentValues(action: (milliseconds: Long, microseconds: Int) -> T): T
Content copied to clipboard
inline fun <T> toComponentValues(action: (seconds: Long, milliseconds: Int, microseconds: Int) -> T): T
Content copied to clipboard
inline fun <T> toComponentValues(action: (minutes: Long, seconds: Int, milliseconds: Int, microseconds: Int) -> T): T
Content copied to clipboard
to Kotlin Duration
Link copied to clipboard
Converts this duration to a kotlin.time.Duration.
unary Minus
Link copied to clipboard
Negates this duration. @throws ArithmeticException if overflow occurs
Properties
absoluteValue
Link copied to clipboard
inNanoseconds
Link copied to clipboard
inWholeDays
Link copied to clipboard
inWholeHours
Link copied to clipboard
inWholeMilliseconds
Link copied to clipboard
inWholeMinutes
Link copied to clipboard
inWholeSeconds
Link copied to clipboard
Extensions
as Duration
Link copied to clipboard
to Java Duration
Link copied to clipboard
Converts this duration to an equivalent Java Duration.
to NSTime Interval
Link copied to clipboard
Converts this duration to an equivalent NSTimeInterval.