div

operator fun Duration.div(divisor: Duration): Long

Divides this by a duration divisor to produce a long, rounded down.

To calculate this division as a double, use ratioOver.


operator fun Duration.div(divisor: Long): Duration

Divides this by a long divisor.


operator fun Duration.div(divisor: Double): Duration

Divides this by a double divisor.