minutes

Common
JVM
JS
Native
1.0
inline val Int.minutes: <ERROR CLASS>
(source)

Returns a Duration equal to this Int number of minutes.

Common
JVM
JS
Native
1.0
inline val Long.minutes: <ERROR CLASS>
(source)

Returns a Duration equal to this Long number of minutes.

Common
JVM
JS
Native
1.0
inline val Double.minutes: <ERROR CLASS>
(source)

Returns a Duration equal to this Double number of minutes.

Depending on its magnitude, the value is rounded to an integer number of nanoseconds or milliseconds.

Exceptions

IllegalArgumentException - if this Double value is NaN.

Common
JVM
JS
Native
1.5
@ExperimentalTime @DeprecatedSinceKotlin("1.6") fun minutes(
    value: Int
): Duration

(source)
Deprecated: Use 'Int.minutes' extension property from Duration.Companion instead.
@ExperimentalTime @DeprecatedSinceKotlin("1.6") fun minutes(
    value: Long
): Duration

(source)
Deprecated: Use 'Long.minutes' extension property from Duration.Companion instead.

Returns a Duration representing the specified value number of minutes.

Common
JVM
JS
Native
1.5
@ExperimentalTime @DeprecatedSinceKotlin("1.6") fun minutes(
    value: Double
): Duration

(source)
Deprecated: Use 'Double.minutes' extension property from Duration.Companion instead.

Returns a Duration representing the specified value number of minutes.

Exceptions

IllegalArgumentException - if the provided Double value is NaN.