toIntMonths

fun toIntMonths(): IntMonths

Converts this duration to IntMonths.

Throws

if overflow occurs