periodOfMonths

inline fun DateTimeParserBuilder.periodOfMonths(length: IntRange = 1..10, crossinline builder: WholeNumberParserBuilder.() -> Unit = {})

Parse a period of whole months.

The number of months will be associated with DateTimeField.PERIOD_OF_MONTHS.