Recurrence Rules

Navigation:  Holidays >

Recurrence Rules

Previous pageReturn to chapter overviewNext page

In the center of the recurring holidays panel is a multi-tab control that is used to specify the rule that Q++ should follow to automatically generate each holiday, year after year.

 

 

The 6 tabs are used to specify the following options (some of the above tabs may be disabled, depending on the type of recurrence selected in the first tab) :

 

Type

The type of rule that the holiday follows. Is it fixed (the same date every year) ? Is it based on Easter ? Is it based on another calendar such as the Chinese calendar ? If you do not know what is the type of recurrence followed by a holiday, make sure you use the Holiday Rule Wizard.


Additionally, from the Type recurrence options tab, you can specify the Observance of a holiday rule (for example, is it regional, religious, starts the evening before, ...).

Weekdays

Are there any special cases depending on the weekday on which the holiday occurs ? For example, if the holiday falls on a Sunday, should it be moved to the next Monday ?

Offset

Should a number of days (or weekdays) be added to the rules specified by the 2 options above. This is useful for holidays that last more than 1 day and which have a different name on each day (for example Hannukah). This is also useful for holidays that follow another holiday, such as Boxing Day and Christmas.

Duration

How many days does the holiday last ? This is mainly used for holidays of the Muslim and Chinese calendars.

Conflicts

Should something be done if a holiday occurs on the same date as another holiday ? This is used in a few special cases such as Mother's Day in France, but mainly to specify the behaviour of days in lieu (additional holidays that are given if a holiday occurs on a weekend).

Validity

Are there any limits on the validity of the rules specified by the above options ? For example, Japan changed the way its holidays are calculated in 1999, so you may have a set of Japanese holidays with validity up to 1999, and another set of Japanese holidays with validity starting in 2000.


Additionally, there may be years when the rule for a holiday does not occur because of another special event. For example, in 2002, in the UK, the 50th anniversary of the coronation of Queen Elizabeth II replaced the Spring Bank holiday. In that case an exception to the Spring Bank holiday was specified, meaning that the rule applied every year except in 2002.

 

 

For the most part you will find adding holidays rules in Q++ quite intuitive. In designing the structure of holidays rules in Q++, we have tried to make the specification or recurrence rules as intuitive as possible. However there are some cases where the rule you know has a twist which makes its specification not so obvious. Our web site contains a sample database of bank holidays, legal holidays, public holidays and religious holidays in the world, for all 194 countries and 48 semi-autonomous territories of the world.


Topic 176720 updated on 21-Sep-2011.
Topic URL: http://www.qppstudio.net/webhelp/index.html?recurrencerules.htm