div

operator fun div(scale: Int): Duration

Returns a Duration whose value is this duration value divided by the given scale number.

Throws

if the operation results in an undefined value for the given arguments, e.g., when dividing duration by zero.