Example usage for java.time MonthDay isAfter

List of usage examples for java.time MonthDay isAfter

Introduction

In this page you can find the example usage for java.time MonthDay isAfter.

Prototype

public boolean isAfter(MonthDay other) 

Source Link

Document

Checks if this month-day is after the specified month-day.

Usage

From source file:Main.java

public static void main(String[] args) {
    MonthDay m = MonthDay.now();

    System.out.println(m.isAfter(MonthDay.of(Month.APRIL, 1)));

}