@FunctionalInterface public interface HolidayPredicate
| Modifier and Type | Method and Description |
|---|---|
boolean |
test(Temporal temporal,
GeoRegion region,
EnumSet<HolidayType> types)
Checks whether the given temporal is a holiday in the given region.
|
boolean test(Temporal temporal, GeoRegion region, EnumSet<HolidayType> types)
Only considers holidays of the given types.
IllegalArgumentException - if temporal is nullIllegalArgumentException - if region is nullIllegalArgumentException - if types is nullGeoRegionNotSupportedException - if the given region is not supported