docs: public static YearMonthDay fromDateFields(Date date) {
          if (date == null) {
              throw new IllegalArgumentException("The date must not be null");
          }
          return new YearMonthDay(
              date.getYear() + 1900,
              date.getMonth() + 1,
              date.getDate()
          );
      }