core / io.islandtime.parser / dayOfYear

dayOfYear

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

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

The result will be associated with DateTimeField.DAY_OF_YEAR.

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

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

The result will be associated with DateTimeField.DAY_OF_YEAR.