core / io.islandtime / Date

Date

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86) fun Date(year: Int, dayOfYear: Int): Date

Creates a Date from a year and day of year

Parameters

year - the year

dayOfYear - the day of the calendar year

Exceptions

DateTimeException - if the year or day of year are invalid