docs: public static YearMonth parse(String str, DateTimeFormatter formatter) {
          LocalDate date = formatter.parseLocalDate(str);
          return new YearMonth(date.getYear(), date.getMonthOfYear());
      }