periodOfYears

Parse a period of whole years.

The number of years will be associated with DateTimeField.PERIOD_OF_YEARS.

inline fun DateTimeParserBuilder.periodOfYears(length: IntRange, crossinline builder: WholeNumberParserBuilder.() -> Unit)