/src/main/java/org/htmlunit/html/HtmlMonthInput.java
final YearMonth maxDate = YearMonth.parse( getMax( ) , FORMATTER_) ;final YearMonth dateValue = YearMonth.parse( getRawValue( ) , FORMATTER_) ;
final YearMonth dateValue = YearMonth.parse ( getRawValue ( ) , FORMATTER_ ) ;
public boolean isValid() { return super.isValid() && isMaxValid() && isMinValid(); } private boolean isMinValid() { if (hasFeature(HTMLINPUT_TYPE_MONTH_SUPPORTED) && !getMin().isEmpty()) { try { <extra_id_0> final YearMonth minDate = YearMonth.parse(getMin(), FORMATTER_); return minDate.equals(dateValue) || minDate.isBefore(dateValue); } catch (final DateTimeParseException e) { } }