List of usage examples for java.time YearMonth isLeapYear
public boolean isLeapYear()
Source Link
From source file:Main.java
public static void main(String[] args) { YearMonth y = YearMonth.now(); System.out.println(y.isLeapYear()); }