Java tutorial
import java.time.Month; import java.time.MonthDay; public class Main { public static void main(String[] args) { MonthDay m = MonthDay.now(); System.out.println(m.isAfter(MonthDay.of(Month.APRIL, 1))); } }