yearOfEra

Parse a year of era with a variable number of digits.

The result will be associated with DateTimeField.YEAR_OF_ERA.

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

Parse a year of era with a fixed number of digits.

The result will be associated with DateTimeField.YEAR_OF_ERA.

inline fun DateTimeParserBuilder.yearOfEra(length: Int, crossinline builder: WholeNumberParserBuilder.() -> Unit)