Interface Holiday

    • Method Detail

      • check

        boolean check​(LocalDate date)
        Check whether the given date is an occurrence of this holiday.
        Parameters:
        date - the date to check.
        Returns:
        true if the given date is an occurrence of this holiday, false otherwise.
        Throws:
        NullPointerException - if the given date is null.