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.
...
The hierarchy level determines the level of the agreement hierarchy to the job order office hierarchy at which the holiday rule belongs. rule applies. For example, assign the rule to the state hierarchy level to apply the holiday type based on the state where the job order office is located.
The hierarchy value is the actual object to which the holiday rule is assigned at the selected hierarchy level. For example, if the rule is assigned to the region state level of the agreement hierarchy, the hierarchy value is the name of the region state to which the rule applies.
...