List of usage examples for java.time MonthDay compareTo
@Override public int compareTo(MonthDay other)
From source file:Main.java
public static void main(String[] args) { MonthDay m = MonthDay.now(); System.out.println(m.compareTo(MonthDay.of(Month.APRIL, 1))); }