| Package | Description |
|---|---|
| org.sellcom.geotemporal.time | |
| org.sellcom.geotemporal.time.applicability |
| Modifier and Type | Method and Description |
|---|---|
static HolidayType |
HolidayType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HolidayType[] |
HolidayType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
Temporals.isHoliday(Temporal temporal,
GeoRegion region,
EnumSet<HolidayType> types)
Checks whether the given temporal is a holiday of any of the given types in the given region.
|
boolean |
HolidayPredicate.test(Temporal temporal,
GeoRegion region,
EnumSet<HolidayType> types)
Checks whether the given temporal is a holiday in the given region.
|
| Modifier and Type | Method and Description |
|---|---|
static GeoTemporalApplicability |
GeoTemporalApplicability.holiday(EnumSet<HolidayType> types)
Creates an applicability satisfied on holidays of any of the given types.
|