This XML file is used to calculate the holidays in Australia.
<?xml version="1.0" encoding="UTF-8"?> <tns:Configuration hierarchy="au" description="Australia" xmlns:tns="http://www.example.org/Holiday" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.example.org/Holiday /Holiday.xsd"> <tns:Holidays> <tns:Fixed month="JANUARY" day="26" validTo="2007" descriptionPropertiesKey="NATIONAL_DAY"/> <tns:Fixed month="JANUARY" day="26" validFrom="2008" descriptionPropertiesKey="NATIONAL_DAY"> <tns:MovingCondition substitute="SATURDAY" with="NEXT" weekday="MONDAY"/> <tns:MovingCondition substitute="SUNDAY" with="NEXT" weekday="MONDAY"/> </tns:Fixed> <tns:Fixed month="APRIL" day="25" validTo="2007" descriptionPropertiesKey="ANZAC"/> <tns:Fixed month="JANUARY" day="1" validTo="2007" descriptionPropertiesKey="NEW_YEAR"/> <tns:Fixed month="DECEMBER" day="25" validTo="2007" descriptionPropertiesKey="CHRISTMAS"> <tns:MovingCondition substitute="SUNDAY" with="NEXT" weekday="MONDAY"/> </tns:Fixed> <tns:Fixed month="DECEMBER" day="26" validTo="2007" descriptionPropertiesKey="BOXING_DAY"> <tns:MovingCondition substitute="SUNDAY" with="NEXT" weekday="MONDAY"/> </tns:Fixed> <tns:ChristianHoliday type="EASTER" /> <tns:ChristianHoliday type="GOOD_FRIDAY"/> <tns:ChristianHoliday type="EASTER_SATURDAY"/> <tns:ChristianHoliday type="EASTER_MONDAY"/> </tns:Holidays> <tns:SubConfigurations hierarchy="act" description="Australian Capital Territory"> <tns:Holidays> <tns:Fixed month="JANUARY" day="1" validFrom="2008" descriptionPropertiesKey="NEW_YEAR"> <tns:MovingCondition substitute="SATURDAY" with="NEXT" weekday="MONDAY"/> <tns:MovingCondition substitute="SUNDAY" with="NEXT" weekday="MONDAY"/> </tns:Fixed> <tns:Fixed month="APRIL" day="25" validTo="2007" descriptionPropertiesKey="ANZAC"> <tns:MovingCondition substitute="SATURDAY" with="NEXT" weekday="MONDAY"/> <tns:MovingCondition substitute="SUNDAY" with="NEXT" weekday="MONDAY"/> </tns:Fixed> <tns:Fixed month="DECEMBER" day="25" validFrom="2008" descriptionPropertiesKey="CHRISTMAS"> <tns:MovingCondition substitute="SATURDAY" with="NEXT" weekday="MONDAY"/> <tns:MovingCondition substitute="SUNDAY" with="NEXT" weekday="MONDAY"/> </tns:Fixed> <tns:Fixed month="DECEMBER" day="26" validFrom="2008" descriptionPropertiesKey="BOXING_DAY"> <tns:MovingCondition substitute="SATURDAY" with="NEXT" weekday="MONDAY"/> <tns:MovingCondition substitute="SUNDAY" with="NEXT" weekday="MONDAY"/> </tns:Fixed> <tns:FixedWeekday which="SECOND" weekday="MONDAY" month="MARCH" descriptionPropertiesKey="CANBERRA_DAY"/> <tns:FixedWeekday which="SECOND" weekday="MONDAY" month="JUNE" descriptionPropertiesKey="QUEENS_BIRTHDAY"/> <tns:FixedWeekday which="FIRST" weekday="MONDAY" month="OCTOBER" descriptionPropertiesKey="LABOUR_DAY"/> <tns:FixedWeekday which="FIRST" weekday="TUESDAY" month="NOVEMBER" descriptionPropertiesKey="FAMILY_COMMUNITY"/> </tns:Holidays> </tns:SubConfigurations> <tns:SubConfigurations hierarchy="nsw" description="New South Wales"> <tns:Holidays> <tns:Fixed month="JANUARY" day="1" validFrom="2008" descriptionPropertiesKey="NEW_YEAR"> <tns:MovingCondition substitute="SUNDAY" with="NEXT" weekday="MONDAY"/> </tns:Fixed> <tns:Fixed month="APRIL" day="25" validTo="2007" descriptionPropertiesKey="ANZAC"> <tns:MovingCondition substitute="SUNDAY" with="NEXT" weekday="MONDAY"/> </tns:Fixed> <tns:Fixed month="DECEMBER" day="25" validFrom="2008" descriptionPropertiesKey="CHRISTMAS"> <tns:MovingCondition substitute="SATURDAY" with="NEXT" weekday="MONDAY"/> <tns:MovingCondition substitute="SUNDAY" with="NEXT" weekday="MONDAY"/> </tns:Fixed> <tns:Fixed month="DECEMBER" day="26" validFrom="2008" descriptionPropertiesKey="BOXING_DAY"> <tns:MovingCondition substitute="SATURDAY" with="NEXT" weekday="MONDAY"/> <tns:MovingCondition substitute="SUNDAY" with="NEXT" weekday="MONDAY"/> </tns:Fixed> <tns:FixedWeekday which="SECOND" weekday="MONDAY" month="JUNE" descriptionPropertiesKey="QUEENS_BIRTHDAY"/> <tns:FixedWeekday which="FIRST" weekday="MONDAY" month="OCTOBER" descriptionPropertiesKey="LABOUR_DAY"/> </tns:Holidays> </tns:SubConfigurations> <tns:SubConfigurations hierarchy="nt" description="Nothern Territory"> <tns:Holidays> <tns:Fixed month="JANUARY" day="1" validFrom="2008" descriptionPropertiesKey="NEW_YEAR"> <tns:MovingCondition substitute="SATURDAY" with="NEXT" weekday="MONDAY"/> <tns:MovingCondition substitute="SUNDAY" with="NEXT" weekday="MONDAY"/> </tns:Fixed> <tns:Fixed month="APRIL" day="25" validTo="2007" descriptionPropertiesKey="ANZAC"> <tns:MovingCondition substitute="SUNDAY" with="NEXT" weekday="MONDAY"/> </tns:Fixed> <tns:Fixed month="DECEMBER" day="25" validFrom="2008" descriptionPropertiesKey="CHRISTMAS"> <tns:MovingCondition substitute="SATURDAY" with="NEXT" weekday="MONDAY"/> <tns:MovingCondition substitute="SUNDAY" with="NEXT" weekday="MONDAY"/> </tns:Fixed> <tns:Fixed month="DECEMBER" day="26" validFrom="2008" descriptionPropertiesKey="BOXING_DAY"> <tns:MovingCondition substitute="SATURDAY" with="NEXT" weekday="MONDAY"/> <tns:MovingCondition substitute="SUNDAY" with="NEXT" weekday="MONDAY"/> </tns:Fixed> <tns:FixedWeekday which="FIRST" weekday="MONDAY" month="MAY" descriptionPropertiesKey="MAY_DAY"/> <tns:FixedWeekday which="SECOND" weekday="MONDAY" month="JUNE" descriptionPropertiesKey="QUEENS_BIRTHDAY"/> <tns:FixedWeekday which="FIRST" weekday="MONDAY" month="AUGUST" descriptionPropertiesKey="PICNIC"/> </tns:Holidays> </tns:SubConfigurations> <tns:SubConfigurations hierarchy="qld" description="Queensland"> <tns:Holidays> <tns:Fixed month="JANUARY" day="1" validFrom="2008" descriptionPropertiesKey="NEW_YEAR"> <tns:MovingCondition substitute="SUNDAY" with="NEXT" weekday="MONDAY"/> </tns:Fixed> <tns:Fixed month="APRIL" day="25" validTo="2007" descriptionPropertiesKey="ANZAC"> <tns:MovingCondition substitute="SUNDAY" with="NEXT" weekday="MONDAY"/> </tns:Fixed> <tns:Fixed month="DECEMBER" day="25" validFrom="2008" descriptionPropertiesKey="CHRISTMAS"> <tns:MovingCondition substitute="SUNDAY" with="NEXT" weekday="MONDAY"/> </tns:Fixed> <tns:Fixed month="DECEMBER" day="26" validFrom="2008" descriptionPropertiesKey="BOXING_DAY"> <tns:MovingCondition substitute="SUNDAY" with="NEXT" weekday="MONDAY"/> </tns:Fixed> <tns:FixedWeekday which="FIRST" weekday="MONDAY" month="MAY" descriptionPropertiesKey="LABOUR_DAY"/> <tns:FixedWeekday which="SECOND" weekday="MONDAY" month="JUNE" descriptionPropertiesKey="QUEENS_BIRTHDAY"/> </tns:Holidays> </tns:SubConfigurations> <tns:SubConfigurations hierarchy="sa" description="South Australia"> <tns:Holidays> <tns:Fixed month="JANUARY" day="1" validFrom="2008" descriptionPropertiesKey="NEW_YEAR"> <tns:MovingCondition substitute="SATURDAY" with="NEXT" weekday="MONDAY"/> <tns:MovingCondition substitute="SUNDAY" with="NEXT" weekday="MONDAY"/> </tns:Fixed> <tns:Fixed month="APRIL" day="25" validTo="2007" descriptionPropertiesKey="ANZAC"> <tns:MovingCondition substitute="SUNDAY" with="NEXT" weekday="MONDAY"/> </tns:Fixed> <tns:Fixed month="DECEMBER" day="25" validFrom="2008" descriptionPropertiesKey="CHRISTMAS"> <tns:MovingCondition substitute="SATURDAY" with="NEXT" weekday="MONDAY"/> <tns:MovingCondition substitute="SUNDAY" with="NEXT" weekday="MONDAY"/> </tns:Fixed> <tns:Fixed month="DECEMBER" day="26" validFrom="2008" descriptionPropertiesKey="PROCLAMATION"> <tns:MovingCondition substitute="SATURDAY" with="NEXT" weekday="MONDAY"/> <tns:MovingCondition substitute="SUNDAY" with="NEXT" weekday="MONDAY"/> </tns:Fixed> <tns:FixedWeekday which="SECOND" weekday="MONDAY" month="MARCH" descriptionPropertiesKey="ADELAIDE_CUP"/> <tns:FixedWeekday which="SECOND" weekday="MONDAY" month="JUNE" descriptionPropertiesKey="QUEENS_BIRTHDAY"/> <tns:FixedWeekday which="FIRST" weekday="MONDAY" month="OCTOBER" descriptionPropertiesKey="LABOUR_DAY"/> </tns:Holidays> </tns:SubConfigurations> <tns:SubConfigurations hierarchy="tas" description="Tasmania"> <tns:Holidays> <tns:Fixed month="APRIL" day="25" descriptionPropertiesKey="ANZAC"/> <tns:Fixed month="JANUARY" day="1" validFrom="2008" descriptionPropertiesKey="NEW_YEAR"> <tns:MovingCondition substitute="SATURDAY" with="NEXT" weekday="MONDAY"/> <tns:MovingCondition substitute="SUNDAY" with="NEXT" weekday="MONDAY"/> </tns:Fixed> <tns:Fixed month="DECEMBER" day="25" validFrom="2008" descriptionPropertiesKey="CHRISTMAS"> <tns:MovingCondition substitute="SATURDAY" with="NEXT" weekday="MONDAY"/> <tns:MovingCondition substitute="SUNDAY" with="NEXT" weekday="MONDAY"/> </tns:Fixed> <tns:Fixed month="DECEMBER" day="26" validFrom="2008" descriptionPropertiesKey="BOXING_DAY"> <tns:MovingCondition substitute="SATURDAY" with="NEXT" weekday="MONDAY"/> <tns:MovingCondition substitute="SUNDAY" with="NEXT" weekday="MONDAY"/> </tns:Fixed> <tns:FixedWeekday which="SECOND" weekday="MONDAY" month="MARCH" descriptionPropertiesKey="EIGHT"/> <tns:FixedWeekday which="SECOND" weekday="MONDAY" month="JUNE" descriptionPropertiesKey="QUEENS_BIRTHDAY"/> <tns:ChristianHoliday type="EASTER_TUESDAY"/> </tns:Holidays> <tns:SubConfigurations hierarchy="ho" description="Hobard Area"> <tns:Holidays> <tns:FixedWeekday which="SECOND" weekday="MONDAY" month="FEBRUARY" descriptionPropertiesKey="HOBART"/> </tns:Holidays> </tns:SubConfigurations> <tns:SubConfigurations hierarchy="nh" description="Non-Hobard Area"> <tns:Holidays> <tns:FixedWeekday which="FIRST" weekday="MONDAY" month="NOVEMBER" descriptionPropertiesKey="RECREATION"/> </tns:Holidays> </tns:SubConfigurations> </tns:SubConfigurations> <tns:SubConfigurations hierarchy="vic" description="Victoria"> <tns:Holidays> <tns:Fixed month="APRIL" day="25" descriptionPropertiesKey="ANZAC"/> <tns:Fixed month="JANUARY" day="1" validFrom="2008" descriptionPropertiesKey="NEW_YEAR"> <tns:MovingCondition substitute="SUNDAY" with="NEXT" weekday="MONDAY"/> </tns:Fixed> <tns:Fixed month="DECEMBER" day="25" validFrom="2008" descriptionPropertiesKey="CHRISTMAS"> <tns:MovingCondition substitute="SATURDAY" with="NEXT" weekday="MONDAY"/> <tns:MovingCondition substitute="SUNDAY" with="NEXT" weekday="MONDAY"/> </tns:Fixed> <tns:Fixed month="DECEMBER" day="26" validFrom="2008" descriptionPropertiesKey="BOXING_DAY"> <tns:MovingCondition substitute="SATURDAY" with="NEXT" weekday="MONDAY"/> <tns:MovingCondition substitute="SUNDAY" with="NEXT" weekday="MONDAY"/> </tns:Fixed> <tns:FixedWeekday which="SECOND" weekday="MONDAY" month="MARCH" descriptionPropertiesKey="LABOUR_DAY"/> <tns:FixedWeekday which="SECOND" weekday="MONDAY" month="JUNE" descriptionPropertiesKey="QUEENS_BIRTHDAY"/> <tns:FixedWeekday which="FIRST" weekday="TUESDAY" month="NOVEMBER" descriptionPropertiesKey="MELBOURNE_CUP"/> </tns:Holidays> </tns:SubConfigurations> <tns:SubConfigurations hierarchy="wa" description="West Australia"> <tns:Holidays> <tns:Fixed month="JANUARY" day="1" validFrom="2008" descriptionPropertiesKey="NEW_YEAR"> <tns:MovingCondition substitute="SATURDAY" with="NEXT" weekday="MONDAY"/> <tns:MovingCondition substitute="SUNDAY" with="NEXT" weekday="MONDAY"/> </tns:Fixed> <tns:Fixed month="APRIL" day="25" validTo="2007" descriptionPropertiesKey="ANZAC"> <tns:MovingCondition substitute="SATURDAY" with="NEXT" weekday="MONDAY"/> <tns:MovingCondition substitute="SUNDAY" with="NEXT" weekday="MONDAY"/> </tns:Fixed> <tns:Fixed month="DECEMBER" day="25" validFrom="2008" descriptionPropertiesKey="CHRISTMAS"> <tns:MovingCondition substitute="SATURDAY" with="NEXT" weekday="MONDAY"/> <tns:MovingCondition substitute="SUNDAY" with="NEXT" weekday="MONDAY"/> </tns:Fixed> <tns:Fixed month="DECEMBER" day="26" validFrom="2008" descriptionPropertiesKey="BOXING_DAY"> <tns:MovingCondition substitute="SATURDAY" with="NEXT" weekday="MONDAY"/> <tns:MovingCondition substitute="SUNDAY" with="NEXT" weekday="MONDAY"/> </tns:Fixed> <tns:FixedWeekday which="FIRST" weekday="MONDAY" month="MARCH" descriptionPropertiesKey="LABOUR_DAY"/> <tns:FixedWeekday which="FIRST" weekday="MONDAY" month="JUNE" descriptionPropertiesKey="FOUNDATION"/> <tns:FixedWeekday which="LAST" weekday="MONDAY" month="SEPTEMBER"/> </tns:Holidays> </tns:SubConfigurations> </tns:Configuration>