Skip to content

//core/io.islandtime.parser/minuteOfHour

minuteOfHour

common

inline fun DateTimeParserBuilder.minuteOfHour(length: IntRange = 1..2, crossinline builder: WholeNumberParserBuilder.() -> Unit = {})

Parse a minute of the hour with a variable number of digits.

The result will be associated with DateTimeField.MINUTE_OF_HOUR.

common

inline fun DateTimeParserBuilder.minuteOfHour(length: Int, crossinline builder: WholeNumberParserBuilder.() -> Unit = {})

Parse a minute of the hour with a fixed number of digits.

The result will be associated with DateTimeField.MINUTE_OF_HOUR.