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