days

val Int.days: Duration

Returns a Duration equal to this Int number of days.

Since Kotlin

1.3

val Long.days: Duration

Returns a Duration equal to this Long number of days.

Since Kotlin

1.3

val Double.days: Duration

Returns a Duration equal to this Double number of days.

Since Kotlin

1.3

Throws

if this Double value is NaN.