hour Of Day
inline fun DateTimeParserBuilder.hourOfDay(length: IntRange = 1..2, crossinline builder: WholeNumberParserBuilder.() -> Unit = {})
Content copied to clipboard
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: Int, crossinline builder: WholeNumberParserBuilder.() -> Unit = {})
Content copied to clipboard
Parse an hour of the day with a fixed number of digits.
The result will be associated with DateTimeField.HOUR_OF_DAY.