div

operator fun div(scalar: Int): IntMonths

Divides this duration by a scalar value.

Throws

if overflow occurs or the scalar is zero

operator fun div(scalar: Long): LongMonths

Divides this duration by a scalar value.

Throws

if the scalar is zero