List of usage examples for java.time Month isSupported
@Override public boolean isSupported(TemporalField field)
From source file:Main.java
public static void main(String[] args) { Month m = Month.from(LocalDate.now()); System.out.println(m.isSupported(ChronoField.MONTH_OF_YEAR)); }