Date

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

Throws

if the year or day of year are invalid