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