microseconds

Common
JVM
JS
Native
1.3
@ExperimentalTime val Int.microseconds: Duration
(source)
Deprecated: Use Duration.microseconds() function instead.

Returns a Duration equal to this Int number of microseconds.

Common
JVM
JS
Native
1.3
@ExperimentalTime val Long.microseconds: Duration
(source)
Deprecated: Use Duration.microseconds() function instead.

Returns a Duration equal to this Long number of microseconds.

Common
JVM
JS
Native
1.3
@ExperimentalTime val Double.microseconds: Duration
(source)
Deprecated: Use Duration.microseconds() function instead.

Returns a Duration equal to this Double number of microseconds.

Exceptions

IllegalArgumentException - if this Double value is NaN.