A holiday rule defines when a specific instance of a holiday type occurs.
Before a holiday rule can be defined, the relevant holiday type must be created. A holiday type must have an associated holiday rule before the holiday type can be used in holiday type conditions, midnight boundary rules and unpaid break rules.
Multiple holiday rules can be defined for a single holiday type, where each holiday rule defines a different holiday that belongs to the category identified by the holiday type. For example, a holiday type of Public Holiday – Australia may be configured to identify all national public holidays within the country of Australia. Separate holiday rules called Christmas Day and New Years Day could be configured and linked to the Public Holiday – Australia holiday type to identify December 25 and January 1 respectively as days on which nation-wide public holidays occur in Australia.
A holiday rule is configured by defining the following:
holiday type which the rule represents
agreement hierarchy level and value to which the rule belongs
validity period
a holiday condition holiday filters.
Each of the abovementioned attributes is described below.
Holiday Type
Each holiday rule is linked to a specific holiday type, whereby the holiday rule defines when an instance of that holiday type occurs. If a holiday type condition, midnight boundary rule or unpaid break rule is flagged as being applicable to a given holiday type, the condition or rule will apply on the date(s) specified or implied by the holiday rule to which the holiday type is linked.
...