microseconds

Deprecated

Warning since 1.5

Use 'Int.microseconds' extension property from Duration.Companion instead.

Replace with

import kotlin.time.Duration.Companion.microseconds
this.microseconds

Returns a Duration equal to this Int number of microseconds.

Since Kotlin

1.3

Deprecated

Warning since 1.5

Use 'Long.microseconds' extension property from Duration.Companion instead.

Replace with

import kotlin.time.Duration.Companion.microseconds
this.microseconds

Returns a Duration equal to this Long number of microseconds.

Since Kotlin

1.3

Deprecated

Warning since 1.5

Use 'Double.microseconds' extension property from Duration.Companion instead.

Replace with

import kotlin.time.Duration.Companion.microseconds
this.microseconds

Returns a Duration equal to this Double number of microseconds.

Since Kotlin

1.3

Throws

if this Double value is NaN.