public static LocalDate ofYearDay (int year, int dayOfYear)

Obtains an instance of LocalDate from a year and day-of-year.

This returns a LocalDate with the specified year and day-of-year. The day-of-year must be valid for the year, otherwise an exception will be thrown.

Parameters:
year    the year to represent, from MIN_YEAR to MAX_YEAR
dayOfYear    the day-of-year to represent, from 1 to 366

Returns:  the local date, not null

Exceptions:
DateTimeException    if the value of any field is out of range, or if the day-of-year is invalid for the year