minutes

fun minutes(value: Int): Duration
fun minutes(value: Long): Duration

Returns a Duration representing the specified value number of minutes.

Since Kotlin

1.5

fun minutes(value: Double): Duration

Returns a Duration representing the specified value number of minutes.

Since Kotlin

1.5

Throws

if the provided Doublevalue is NaN.