All Downloads are FREE. Search and download functionalities are using the official Maven repository.

holidays.Holidays_nyse.xml Maven / Gradle / Ivy

Go to download

This API determines the holidays for a given year, country/name and eventually state/region. The holiday data is stored in XML files (one for each country) and will be read from the classpath. You can provide your own holiday calendar XML file or use any of the provided ones. Currently there are 63 countries supported like the following: United States, most european countries, Russia, India, Australia. Besides those there will be more special calendars like currently existing NYSE calendar (New York Stock Exchange).

There is a newer version: 0.5.10
Show newest version
<?xml version="1.0" encoding="UTF-8"?>
<tns:Configuration hierarchy="nyse" description="New York Stock Exchange"
	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="1" descriptionPropertiesKey="NEW_YEAR">
			<tns:MovingCondition substitute="SATURDAY" with="PREVIOUS"
				weekday="FRIDAY" />
			<tns:MovingCondition substitute="SUNDAY" with="NEXT"
				weekday="MONDAY" />
		</tns:Fixed>
		<tns:Fixed month="JULY" day="4" descriptionPropertiesKey="INDEPENDENCE">
			<tns:MovingCondition substitute="SATURDAY" with="PREVIOUS"
				weekday="FRIDAY" />
			<tns:MovingCondition substitute="SUNDAY" with="NEXT"
				weekday="MONDAY" />
		</tns:Fixed>
		<tns:Fixed month="DECEMBER" day="25"
			descriptionPropertiesKey="CHRISTMAS">
			<tns:MovingCondition substitute="SATURDAY" with="PREVIOUS"
				weekday="FRIDAY" />
			<tns:MovingCondition substitute="SUNDAY" with="NEXT"
				weekday="MONDAY" />
		</tns:Fixed>
		<tns:Fixed month="JUNE" day="11" validFrom="2004" validTo="2004"
			descriptionPropertiesKey="FUNERAL_OF_PRESIDENT_REAGAN">
		</tns:Fixed>
		<tns:Fixed month="JANUARY" day="2" validFrom="2007" validTo="2007"
			descriptionPropertiesKey="REMEMBERANCE_OF_PRESIDENT_FORD">
		</tns:Fixed>
		<tns:Fixed month="OCTOBER" day="29" validFrom="2012"
			validTo="2012" descriptionPropertiesKey="HURRICANE_SANDY">
		</tns:Fixed>
		<tns:Fixed month="OCTOBER" day="30" validFrom="2012"
			validTo="2012" descriptionPropertiesKey="HURRICANE_SANDY">
		</tns:Fixed>
		<tns:FixedWeekday which="THIRD" weekday="MONDAY"
			month="JANUARY" descriptionPropertiesKey="MARTIN_LUTHER_KING" />
		<tns:FixedWeekday which="THIRD" weekday="MONDAY"
			month="FEBRUARY" descriptionPropertiesKey="WASHINGTONS_BIRTHDAY" />
		<tns:FixedWeekday which="LAST" weekday="MONDAY"
			month="MAY" descriptionPropertiesKey="MEMORIAL" />
		<tns:FixedWeekday which="FIRST" weekday="MONDAY"
			month="SEPTEMBER" descriptionPropertiesKey="LABOUR_DAY" />
		<tns:FixedWeekday which="FOURTH" weekday="THURSDAY"
			month="NOVEMBER" descriptionPropertiesKey="THANKSGIVING" />
		<tns:ChristianHoliday type="GOOD_FRIDAY" />
	</tns:Holidays>
</tns:Configuration>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy