core / io.islandtime / Date

Date

(iosArm64, iosX64, jvm, macosX64) fun Date(year: Int, dayOfYear: Int): Date

Create 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

Return
a new Date