code: public LocalDate atYear(Year year) {
          Objects.requireNonNull(year, "year");
          return year.atDay(day);
      }
docs: Combines this day-of-year with a year to create a {@code LocalDate}.
  <p>
  This returns a {@code LocalDate} formed from this day and the specified year.
  <p>
  This method can be used as part of a chain to produce a date:
  <pre>
  LocalDate date = day.atYear(year);
  </pre>
  <p>
  The day-of-year value 366 is only valid in a leap year.
  
  @param year  the year to use, not null
  @return the local date formed from this day and the specified year, not null
  @throws DateTimeException if the year is invalid or this is day 366 and the year is not a leap year