List of usage examples for java.time Year isLeap
public static boolean isLeap(long year)
Source Link
From source file:Main.java
public static void main(String[] args) { System.out.println(Year.isLeap(2014)); }