code: public static LocalDate of(int year, Month month, int dayOfMonth) {
          YEAR.checkValidValue(year);
          Jdk8Methods.requireNonNull(month, "month");
          DAY_OF_MONTH.checkValidValue(dayOfMonth);
          return create(year, month, dayOfMonth);
      }
docs: Obtains an instance of {@code LocalDate} from a year, month and day.
  <p>
  The day must be valid for the year and month, otherwise an exception will be thrown.
  
  @param year  the year to represent, from MIN_YEAR to MAX_YEAR
  @param month  the month-of-year to represent, not null
  @param dayOfMonth  the day-of-month to represent, from 1 to 31
  @return the local date, not null
  @throws DateTimeException if the value of any field is out of range
  @throws DateTimeException if the day-of-month is invalid for the month-year