hourOfDay

Parse an hour of the day with a variable number of digits.

The result will be associated with DateTimeField.HOUR_OF_DAY.

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

Parse an hour of the day with a fixed number of digits.

The result will be associated with DateTimeField.HOUR_OF_DAY.

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