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.
year | the year to represent, from MIN_YEAR to MAX_YEAR | |
dayOfYear | the day-of-year to represent, from 1 to 366 |
DateTimeException | if the value of any field is out of range, or if the day-of-year is invalid for the year |
Diagram: LocalDate