United Kingdom

This XML file is used to calculate the holidays in the United Kingdom.

<?xml version="1.0" encoding="UTF-8"?>
<tns:Configuration hierarchy="uk" description="United Kingdom"
	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="DECEMBER" day="26"
			descriptionPropertiesKey="BOXING_DAY">
			<tns:MovingCondition substitute="SATURDAY" with="NEXT"
				weekday="MONDAY" />
			<tns:MovingCondition substitute="SUNDAY" with="NEXT"
				weekday="TUESDAY" />
			<tns:MovingCondition substitute="MONDAY" with="NEXT"
				weekday="TUESDAY" />
		</tns:Fixed>
		<tns:Fixed month="DECEMBER" day="25"
			descriptionPropertiesKey="CHRISTMAS">
			<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="BANK_HOLIDAY" />
		<tns:FixedWeekday which="LAST" weekday="MONDAY"
			month="MAY" descriptionPropertiesKey="BANK_HOLIDAY" />
		<tns:ChristianHoliday type="EASTER" />
		<tns:ChristianHoliday type="GOOD_FRIDAY" />
	</tns:Holidays>
	<tns:SubConfigurations hierarchy="al"
		description="Alderney">
		<tns:Holidays>
			<tns:Fixed month="JANUARY" day="1"
				descriptionPropertiesKey="NEW_YEAR" />
			<tns:ChristianHoliday type="EASTER_MONDAY" />
		</tns:Holidays>
	</tns:SubConfigurations>
	<tns:SubConfigurations hierarchy="en"
		description="England">
		<tns:Holidays>
			<tns:Fixed month="JANUARY" day="1"
				descriptionPropertiesKey="NEW_YEAR">
				<tns:MovingCondition substitute="SATURDAY" with="NEXT"
					weekday="MONDAY" />
				<tns:MovingCondition substitute="SUNDAY" with="NEXT"
					weekday="MONDAY" />
			</tns:Fixed>
			<tns:FixedWeekday which="LAST" weekday="MONDAY"
				month="AUGUST" descriptionPropertiesKey="BANK_HOLIDAY" />
			<tns:ChristianHoliday type="EASTER_MONDAY" />
		</tns:Holidays>
	</tns:SubConfigurations>
	<tns:SubConfigurations hierarchy="gu"
		description="Guernsey">
		<tns:Holidays>
			<tns:Fixed month="JANUARY" day="1"
				descriptionPropertiesKey="NEW_YEAR" />
			<tns:Fixed month="MAY" day="9" descriptionPropertiesKey="LIBERATION" />
			<tns:ChristianHoliday type="EASTER_MONDAY" />
		</tns:Holidays>
	</tns:SubConfigurations>
	<tns:SubConfigurations hierarchy="im"
		description="Isle of Man">
		<tns:Holidays>
			<tns:Fixed month="JANUARY" day="1"
				descriptionPropertiesKey="NEW_YEAR" />
			<tns:Fixed month="JULY" day="5" descriptionPropertiesKey="TYNWALD" />
			<tns:FixedWeekday which="SECOND" weekday="FRIDAY"
				month="JUNE" descriptionPropertiesKey="TOURIST_TROPHY" />
			<tns:ChristianHoliday type="EASTER_MONDAY" />
		</tns:Holidays>
	</tns:SubConfigurations>
	<tns:SubConfigurations hierarchy="je"
		description="Jersey">
		<tns:Holidays>
			<tns:Fixed month="JANUARY" day="1"
				descriptionPropertiesKey="NEW_YEAR" />
			<tns:Fixed month="MAY" day="9" descriptionPropertiesKey="LIBERATION" />
			<tns:ChristianHoliday type="EASTER_MONDAY" />
		</tns:Holidays>
	</tns:SubConfigurations>
	<tns:SubConfigurations hierarchy="ni"
		description="Northern Ireland">
		<tns:Holidays>
			<tns:Fixed month="JANUARY" day="1"
				descriptionPropertiesKey="NEW_YEAR" />
			<tns:Fixed month="MARCH" day="17" descriptionPropertiesKey="ST_PATRICK">
				<tns:MovingCondition substitute="SATURDAY" with="NEXT"
					weekday="MONDAY" />
				<tns:MovingCondition substitute="SUNDAY" with="NEXT"
					weekday="MONDAY" />
			</tns:Fixed>
			<tns:Fixed month="JULY" day="12" descriptionPropertiesKey="BATTLE_BOYNE">
				<tns:MovingCondition substitute="SATURDAY" with="NEXT"
					weekday="MONDAY" />
				<tns:MovingCondition substitute="SUNDAY" with="NEXT"
					weekday="MONDAY" />
			</tns:Fixed>
			<tns:ChristianHoliday type="EASTER_MONDAY" />
		</tns:Holidays>
	</tns:SubConfigurations>
	<tns:SubConfigurations hierarchy="sc"
		description="Scotland">
		<tns:Holidays>
			<tns:Fixed month="JANUARY" day="1"
				descriptionPropertiesKey="NEW_YEAR">
				<tns:MovingCondition substitute="SATURDAY" with="NEXT"
					weekday="TUESDAY" />
				<tns:MovingCondition substitute="SUNDAY" with="NEXT"
					weekday="TUESDAY" />
			</tns:Fixed>
			<tns:Fixed month="JANUARY" day="2"
				descriptionPropertiesKey="NEW_YEAR">
				<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="AUGUST" descriptionPropertiesKey="BANK_HOLIDAY" />
		</tns:Holidays>
	</tns:SubConfigurations>
	<tns:SubConfigurations hierarchy="wa"
		description="Wales">
		<tns:Holidays>
			<tns:Fixed month="JANUARY" day="1"
				descriptionPropertiesKey="NEW_YEAR">
				<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="AUGUST" descriptionPropertiesKey="BANK_HOLIDAY" />
			<tns:ChristianHoliday type="EASTER_MONDAY" />
		</tns:Holidays>
	</tns:SubConfigurations>
</tns:Configuration>