era

fun DateTimeParserBuilder.era(styles: Set<TextStyle>)

Parse an era from its textual representation in any of the specified styles.

The result will be associated with DateTimeField.ERA.

fun DateTimeParserBuilder.era(style: TextStyle)

Parse an era from its textual representation in a specific style.

The result will be associated with DateTimeField.ERA.