code: static Symmetry010Date ofYearDay(int prolepticYear, int dayOfYear) {
          YEAR_RANGE.checkValidValue(prolepticYear, ChronoField.YEAR_OF_ERA);
          DAY_OF_YEAR_RANGE.checkValidValue(dayOfYear, ChronoField.DAY_OF_YEAR);
          boolean leap = INSTANCE.isLeapYear(prolepticYear);
          if (dayOfYear > DAYS_IN_YEAR && !leap) {
              throw new DateTimeException("Invalid date 'DayOfYear " + dayOfYear + "' as '" + prolepticYear + "' is not a leap year");
          }
  
          int offset = Math.min(dayOfYear, DAYS_IN_YEAR) - 1;
          int quarter = offset / DAYS_IN_QUARTER;
          int day = ((dayOfYear - 1) - quarter * DAYS_IN_QUARTER) + 1;
          int month = 1 + quarter * 3;
  
          if (day > DAYS_IN_MONTH + DAYS_IN_MONTH + 1) {
              month += 2;
              day -= DAYS_IN_MONTH + DAYS_IN_MONTH + 1;
          } else if (day > DAYS_IN_MONTH) {
              month += 1;
              day -= DAYS_IN_MONTH;
          }
          return new Symmetry010Date(prolepticYear, month, day);
      }
docs: Obtains a {@code Symmetry010Date} representing a date in the Symmetry010 calendar
  system from the proleptic-year and day-of-year fields.
  <p>
  This returns a {@code Symmetry010Date} with the specified fields.
  The day must be valid for the year, otherwise an exception will be thrown.
  
  @param prolepticYear  the Symmetry010 proleptic-year
  @param dayOfYear  the Symmetry010 day-of-year, from 1 to 364/371
  @return the date in Symmetry010 calendar system, not null
  @throws DateTimeException if the value of any field is out of range,
  or if the day-of-year is invalid for the year