core / io.islandtime.parser / dayOfMonth

dayOfMonth

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

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

The result will be associated with DateTimeField.DAY_OF_MONTH.

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

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

The result will be associated with DateTimeField.DAY_OF_MONTH.