The above example shows that the Company Annual Event takes place on a different date each year, and in the year 2011, it falls on November 18. The year-specific holidays can also be day-specific, as explained in the case of
Fixed holidays.
Even when a particular year has no year-specific holidays, you must define the empty tags as shown below:
This is the only way to indicate that calendar entries are to be generated and persisted for the year 2011.
You can specify working and non-working time for a range of years also. You need to add a separate year tag for each of the year of that year range. An example of year range tags for the year range from 2011 to 2014 is shown below.