val lengthInMonths: IntMonths
Get the number of months between the start and end of the interval. A month is considered to have passed if the day of the end month is greater than or equal to the day of the start month.
UnsupportedOperationException - if the interval isn't bounded