lengthInMonths

val DateRange.lengthInMonths: Months

The number of whole months between the start and end of this range.

Throws

if the range isn't bounded

val DateTimeInterval.lengthInMonths: Months
val OffsetDateTimeInterval.lengthInMonths: Months
val ZonedDateTimeInterval.lengthInMonths: Months

The number of whole months between the start and end of this interval.

Throws

if the interval isn't bounded