div

operator fun div(scalar: Int): IntYears

Divides this duration by a scalar value.

Throws

if overflow occurs or the scalar is zero

operator fun div(scalar: Long): LongYears

Divides this duration by a scalar value.

Throws

if the scalar is zero