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