Skip to content

//core/io.islandtime.parser/dayOfMonth

dayOfMonth

common

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

Parse a day of the month value with a variable number of digits.

The result will be associated with DateTimeField.DAY_OF_MONTH.

common

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

Parse a day of the month value with a fixed number of digits.

The result will be associated with DateTimeField.DAY_OF_MONTH.