code: public static MonthDay parse(String str, DateTimeFormatter formatter) {
          LocalDate date = formatter.parseLocalDate(str);
          return new MonthDay(date.getMonthOfYear(), date.getDayOfMonth());
      }
docs: Parses a {@code MonthDay} from the specified string using a formatter.
  
  @param str  the string to parse, not null
  @param formatter  the formatter to use, not null
  @since 2.0