List of usage examples for java.time MonthDay isValidYear
public boolean isValidYear(int year)
From source file:Main.java
public static void main(String[] args) { MonthDay m = MonthDay.now(); boolean n = m.isValidYear(2010); System.out.println(n);//from ww w . j av a 2s .com }