holidays.Holidays_in.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jollyday Show documentation
Show all versions of jollyday Show documentation
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).
<?xml version="1.0" encoding="UTF-8"?> <tns:Configuration hierarchy="in" description="India" 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" descriptionPropertiesKey="REPUBLIC_DAY"/> <tns:Fixed month="AUGUST" day="15" descriptionPropertiesKey="INDEPENDENCE_DAY"/> <tns:Fixed month="OCTOBER" day="2" descriptionPropertiesKey="GHANDIS_BIRTHDAY"/> </tns:Holidays> <tns:SubConfigurations hierarchy="ap" description="Andhra Pradesh"> <tns:Holidays> <tns:Fixed month="APRIL" day="14"/> <tns:Fixed month="DECEMBER" day="25" descriptionPropertiesKey="CHRISTMAS"/> <tns:ChristianHoliday type="GOOD_FRIDAY"/> <tns:IslamicHoliday type="ASCHURA"/> <tns:IslamicHoliday type="MAWLID_AN_NABI"/> <tns:IslamicHoliday type="ID_AL_FITR"/> <tns:IslamicHoliday type="ID_UL_ADHA"/> </tns:Holidays> </tns:SubConfigurations> <tns:SubConfigurations hierarchy="ar" description="Arunachal Pradesh"> <tns:Holidays> <tns:Fixed month="JANUARY" day="1" descriptionPropertiesKey="NEW_YEAR"/> <tns:Fixed month="DECEMBER" day="25" descriptionPropertiesKey="CHRISTMAS"/> <tns:ChristianHoliday type="EASTER" /> <tns:ChristianHoliday type="GOOD_FRIDAY"/> <tns:IslamicHoliday type="ID_AL_FITR"/> <tns:IslamicHoliday type="ID_UL_ADHA"/> </tns:Holidays> </tns:SubConfigurations> <tns:SubConfigurations hierarchy="as" description="Assam"> <tns:Holidays> <tns:Fixed month="MAY" day="1" descriptionPropertiesKey="LABOUR_DAY"/> <tns:Fixed month="DECEMBER" day="25" descriptionPropertiesKey="CHRISTMAS"/> <tns:ChristianHoliday type="EASTER" /> <tns:ChristianHoliday type="GOOD_FRIDAY"/> <tns:IslamicHoliday type="ID_AL_FITR"/> <tns:IslamicHoliday type="ID_UL_ADHA"/> </tns:Holidays> </tns:SubConfigurations> <tns:SubConfigurations hierarchy="br" description="Bihar"> <tns:Holidays> <tns:Fixed month="MAY" day="1" descriptionPropertiesKey="LABOUR_DAY"/> <tns:Fixed month="APRIL" day="14"/> <tns:Fixed month="DECEMBER" day="25" descriptionPropertiesKey="CHRISTMAS"/> <tns:ChristianHoliday type="EASTER" /> <tns:ChristianHoliday type="GOOD_FRIDAY"/> <tns:IslamicHoliday type="ASCHURA"/> <tns:IslamicHoliday type="ID_AL_FITR"/> <tns:IslamicHoliday type="ID_UL_ADHA"/> </tns:Holidays> </tns:SubConfigurations> <tns:SubConfigurations hierarchy="ct" description="Chhattisgarh"> <tns:Holidays> <tns:Fixed month="DECEMBER" day="25" descriptionPropertiesKey="CHRISTMAS"/> <tns:IslamicHoliday type="ASCHURA"/> <tns:IslamicHoliday type="MAWLID_AN_NABI"/> <tns:IslamicHoliday type="ID_AL_FITR"/> <tns:IslamicHoliday type="ID_UL_ADHA"/> </tns:Holidays> </tns:SubConfigurations> <tns:SubConfigurations hierarchy="ga" description="Goa"> <tns:Holidays> <tns:Fixed month="MAY" day="1" descriptionPropertiesKey="LABOUR_DAY"/> <tns:Fixed month="DECEMBER" day="3"/> <tns:Fixed month="DECEMBER" day="25" descriptionPropertiesKey="CHRISTMAS"/> <tns:ChristianHoliday type="EASTER" /> <tns:ChristianHoliday type="GOOD_FRIDAY"/> </tns:Holidays> </tns:SubConfigurations> <tns:SubConfigurations hierarchy="gj" description="Gujarat"> <tns:Holidays> <tns:Fixed month="APRIL" day="14"/> <tns:Fixed month="DECEMBER" day="25" descriptionPropertiesKey="CHRISTMAS"/> <tns:IslamicHoliday type="ID_AL_FITR"/> <tns:IslamicHoliday type="ID_UL_ADHA"/> </tns:Holidays> </tns:SubConfigurations> <tns:SubConfigurations hierarchy="hr" description="Haryana"> <tns:Holidays> <tns:Fixed month="APRIL" day="14"/> <tns:Fixed month="DECEMBER" day="25" descriptionPropertiesKey="CHRISTMAS"/> <tns:IslamicHoliday type="ID_AL_FITR"/> </tns:Holidays> </tns:SubConfigurations> <tns:SubConfigurations hierarchy="hp" description="Himachal Pradesh"> <tns:Holidays> <tns:Fixed month="DECEMBER" day="25" descriptionPropertiesKey="CHRISTMAS"/> <tns:IslamicHoliday type="ID_AL_FITR"/> <tns:IslamicHoliday type="ASCHURA"/> </tns:Holidays> </tns:SubConfigurations> <tns:SubConfigurations hierarchy="jk" description="Jammu and Kashmir"> <tns:Holidays> <tns:Fixed month="APRIL" day="14"/> <tns:Fixed month="DECEMBER" day="25" descriptionPropertiesKey="CHRISTMAS"/> <tns:IslamicHoliday type="ASCHURA"/> <tns:IslamicHoliday type="ID_AL_FITR"/> <tns:IslamicHoliday type="ID_UL_ADHA"/> </tns:Holidays> </tns:SubConfigurations> <tns:SubConfigurations hierarchy="jh" description="Jharkhand"> <tns:Holidays> <tns:ChristianHoliday type="EASTER" /> <tns:ChristianHoliday type="GOOD_FRIDAY"/> <tns:IslamicHoliday type="ID_UL_ADHA"/> </tns:Holidays> </tns:SubConfigurations> <tns:SubConfigurations hierarchy="ka" description="Karnataka"> <tns:Holidays> <tns:Fixed month="MAY" day="1" descriptionPropertiesKey="LABOUR_DAY"/> <tns:Fixed month="APRIL" day="14"/> <tns:Fixed month="NOVEMBER" day="1"/> <tns:Fixed month="NOVEMBER" day="5"/> <tns:Fixed month="DECEMBER" day="25" descriptionPropertiesKey="CHRISTMAS"/> <tns:ChristianHoliday type="EASTER" /> <tns:ChristianHoliday type="GOOD_FRIDAY"/> <tns:IslamicHoliday type="ASCHURA"/> <tns:IslamicHoliday type="MAWLID_AN_NABI"/> <tns:IslamicHoliday type="ID_AL_FITR"/> <tns:IslamicHoliday type="ID_UL_ADHA"/> </tns:Holidays> </tns:SubConfigurations> <tns:SubConfigurations hierarchy="kl" description="Kerala"> <tns:Holidays> <tns:Fixed month="MAY" day="1" descriptionPropertiesKey="LABOUR_DAY"/> <tns:Fixed month="APRIL" day="14"/> <tns:Fixed month="DECEMBER" day="25" descriptionPropertiesKey="CHRISTMAS"/> <tns:ChristianHoliday type="EASTER" /> <tns:ChristianHoliday type="GOOD_FRIDAY"/> <tns:IslamicHoliday type="ID_AL_FITR"/> <tns:IslamicHoliday type="ID_UL_ADHA"/> </tns:Holidays> </tns:SubConfigurations> <tns:SubConfigurations hierarchy="mp" description="Madhya Pradesh"> <tns:Holidays> <tns:Fixed month="DECEMBER" day="25" descriptionPropertiesKey="CHRISTMAS"/> <tns:IslamicHoliday type="ASCHURA"/> <tns:IslamicHoliday type="MAWLID_AN_NABI"/> <tns:IslamicHoliday type="ID_AL_FITR"/> <tns:IslamicHoliday type="ID_UL_ADHA"/> </tns:Holidays> </tns:SubConfigurations> <tns:SubConfigurations hierarchy="mh" description="Maharashtra"> <tns:Holidays> <tns:Fixed month="MAY" day="1" descriptionPropertiesKey="LABOUR_DAY"/> <tns:Fixed month="APRIL" day="14"/> <tns:Fixed month="FEBRUARY" day="19"/> <tns:Fixed month="DECEMBER" day="25" descriptionPropertiesKey="CHRISTMAS"/> <tns:IslamicHoliday type="ASCHURA"/> <tns:IslamicHoliday type="MAWLID_AN_NABI"/> <tns:IslamicHoliday type="ID_AL_FITR"/> <tns:IslamicHoliday type="ID_UL_ADHA"/> </tns:Holidays> </tns:SubConfigurations> <tns:SubConfigurations hierarchy="mn" description="Manipur"> <tns:Holidays> <tns:Fixed month="MAY" day="1" descriptionPropertiesKey="LABOUR_DAY"/> <tns:Fixed month="JANUARY" day="1" descriptionPropertiesKey="NEW_YEAR"/> <tns:Fixed month="DECEMBER" day="25" descriptionPropertiesKey="CHRISTMAS"/> <tns:ChristianHoliday type="EASTER" /> <tns:ChristianHoliday type="GOOD_FRIDAY"/> <tns:IslamicHoliday type="ID_AL_FITR"/> <tns:IslamicHoliday type="ID_UL_ADHA"/> </tns:Holidays> </tns:SubConfigurations> <tns:SubConfigurations hierarchy="ml" description="Meghalaya"> <tns:Holidays> <tns:Fixed month="JANUARY" day="1" descriptionPropertiesKey="NEW_YEAR"/> <tns:Fixed month="DECEMBER" day="25" descriptionPropertiesKey="CHRISTMAS"/> <tns:ChristianHoliday type="EASTER" /> <tns:ChristianHoliday type="GOOD_FRIDAY"/> <tns:IslamicHoliday type="ID_AL_FITR"/> <tns:IslamicHoliday type="ID_UL_ADHA"/> </tns:Holidays> </tns:SubConfigurations> <tns:SubConfigurations hierarchy="mz" description="Mizoram"> <tns:Holidays> <tns:Fixed month="JANUARY" day="1" descriptionPropertiesKey="NEW_YEAR"/> <tns:Fixed month="DECEMBER" day="25" descriptionPropertiesKey="CHRISTMAS"/> <tns:ChristianHoliday type="EASTER" /> <tns:ChristianHoliday type="GOOD_FRIDAY"/> <tns:IslamicHoliday type="MAWLID_AN_NABI"/> <tns:IslamicHoliday type="ID_AL_FITR"/> </tns:Holidays> </tns:SubConfigurations> <tns:SubConfigurations hierarchy="nl" description="Nagaland"> <tns:Holidays> <tns:Fixed month="JANUARY" day="1" descriptionPropertiesKey="NEW_YEAR"/> <tns:Fixed month="DECEMBER" day="25" descriptionPropertiesKey="CHRISTMAS"/> <tns:ChristianHoliday type="EASTER" /> <tns:ChristianHoliday type="GOOD_FRIDAY"/> <tns:IslamicHoliday type="ID_AL_FITR"/> <tns:IslamicHoliday type="ID_UL_ADHA"/> </tns:Holidays> </tns:SubConfigurations> <tns:SubConfigurations hierarchy="or" description="Orissa"> <tns:Holidays> <tns:Fixed month="APRIL" day="14"/> <tns:Fixed month="DECEMBER" day="25" descriptionPropertiesKey="CHRISTMAS"/> <tns:IslamicHoliday type="ASCHURA"/> <tns:IslamicHoliday type="ID_AL_FITR"/> <tns:IslamicHoliday type="ID_UL_ADHA"/> </tns:Holidays> </tns:SubConfigurations> <tns:SubConfigurations hierarchy="pb" description="Punjab"> <tns:Holidays> <tns:Fixed month="DECEMBER" day="25" descriptionPropertiesKey="CHRISTMAS"/> <tns:IslamicHoliday type="ID_AL_FITR"/> </tns:Holidays> </tns:SubConfigurations> <tns:SubConfigurations hierarchy="rj" description="Rajasthan"> <tns:Holidays> <tns:Fixed month="DECEMBER" day="25" descriptionPropertiesKey="CHRISTMAS"/> <tns:IslamicHoliday type="ASCHURA"/> <tns:IslamicHoliday type="ID_AL_FITR"/> <tns:IslamicHoliday type="ID_UL_ADHA"/> </tns:Holidays> </tns:SubConfigurations> <tns:SubConfigurations hierarchy="sk" description="Sikkim"> <tns:Holidays> <tns:Fixed month="MAY" day="16"/> <tns:Fixed month="JANUARY" day="1" descriptionPropertiesKey="NEW_YEAR"/> <tns:Fixed month="DECEMBER" day="25" descriptionPropertiesKey="CHRISTMAS"/> <tns:ChristianHoliday type="EASTER" /> <tns:ChristianHoliday type="GOOD_FRIDAY"/> <tns:IslamicHoliday type="ID_AL_FITR"/> </tns:Holidays> </tns:SubConfigurations> <tns:SubConfigurations hierarchy="tn" description="Tamil Nadu"> <tns:Holidays> <tns:Fixed month="MAY" day="1" descriptionPropertiesKey="LABOUR_DAY"/> <tns:Fixed month="APRIL" day="14"/> <tns:Fixed month="JANUARY" day="1" descriptionPropertiesKey="NEW_YEAR"/> <tns:Fixed month="DECEMBER" day="25" descriptionPropertiesKey="CHRISTMAS"/> <tns:ChristianHoliday type="EASTER" /> <tns:ChristianHoliday type="GOOD_FRIDAY"/> <tns:IslamicHoliday type="ASCHURA"/> <tns:IslamicHoliday type="MAWLID_AN_NABI"/> <tns:IslamicHoliday type="ID_AL_FITR"/> <tns:IslamicHoliday type="ID_UL_ADHA"/> </tns:Holidays> </tns:SubConfigurations> <tns:SubConfigurations hierarchy="tr" description="Tripura"> <tns:Holidays> <tns:Fixed month="MAY" day="1" descriptionPropertiesKey="LABOUR_DAY"/> <tns:Fixed month="JANUARY" day="23" /> <tns:Fixed month="DECEMBER" day="25" descriptionPropertiesKey="CHRISTMAS"/> <tns:IslamicHoliday type="ID_AL_FITR"/> <tns:IslamicHoliday type="ID_UL_ADHA"/> </tns:Holidays> </tns:SubConfigurations> <tns:SubConfigurations hierarchy="up" description="Uttar Pradesh"> <tns:Holidays> <tns:Fixed month="APRIL" day="14"/> <tns:Fixed month="MARCH" day="15"/> <tns:Fixed month="DECEMBER" day="25" descriptionPropertiesKey="CHRISTMAS"/> <tns:ChristianHoliday type="EASTER" /> <tns:ChristianHoliday type="GOOD_FRIDAY"/> <tns:IslamicHoliday type="ASCHURA"/> <tns:IslamicHoliday type="MAWLID_AN_NABI"/> <tns:IslamicHoliday type="ID_UL_ADHA"/> </tns:Holidays> </tns:SubConfigurations> <tns:SubConfigurations hierarchy="ul" description="Uttarakhand"> <tns:Holidays> <tns:Fixed month="APRIL" day="14"/> <tns:Fixed month="DECEMBER" day="25" descriptionPropertiesKey="CHRISTMAS"/> <tns:ChristianHoliday type="EASTER" /> <tns:ChristianHoliday type="GOOD_FRIDAY"/> <tns:IslamicHoliday type="ASCHURA"/> <tns:IslamicHoliday type="MAWLID_AN_NABI"/> <tns:IslamicHoliday type="ID_AL_FITR"/> <tns:IslamicHoliday type="ID_UL_ADHA"/> </tns:Holidays> </tns:SubConfigurations> <tns:SubConfigurations hierarchy="wb" description="West Bengal"> <tns:Holidays> <tns:Fixed month="MAY" day="1" descriptionPropertiesKey="LABOUR_DAY"/> <tns:Fixed month="JANUARY" day="23" /> <tns:Fixed month="DECEMBER" day="25" descriptionPropertiesKey="CHRISTMAS"/> <tns:ChristianHoliday type="EASTER" /> <tns:ChristianHoliday type="GOOD_FRIDAY"/> <tns:IslamicHoliday type="ASCHURA"/> <tns:IslamicHoliday type="ID_AL_FITR"/> <tns:IslamicHoliday type="ID_UL_ADHA"/> </tns:Holidays> </tns:SubConfigurations> <tns:SubConfigurations hierarchy="an" description="Andaman and Nicobar Islands"> <tns:Holidays> <tns:Fixed month="DECEMBER" day="25" descriptionPropertiesKey="CHRISTMAS"/> <tns:ChristianHoliday type="EASTER" /> <tns:ChristianHoliday type="GOOD_FRIDAY"/> <tns:IslamicHoliday type="ASCHURA"/> <tns:IslamicHoliday type="MAWLID_AN_NABI"/> <tns:IslamicHoliday type="ID_AL_FITR"/> <tns:IslamicHoliday type="ID_UL_ADHA"/> </tns:Holidays> </tns:SubConfigurations> <tns:SubConfigurations hierarchy="ch" description="Chandigarh"> <tns:Holidays> <tns:Fixed month="APRIL" day="14"/> <tns:Fixed month="DECEMBER" day="25" descriptionPropertiesKey="CHRISTMAS"/> <tns:ChristianHoliday type="EASTER" /> <tns:ChristianHoliday type="GOOD_FRIDAY"/> <tns:IslamicHoliday type="ASCHURA"/> <tns:IslamicHoliday type="ID_AL_FITR"/> <tns:IslamicHoliday type="ID_UL_ADHA"/> </tns:Holidays> </tns:SubConfigurations> <tns:SubConfigurations hierarchy="dn" description="Dadra and Nagar Haveli"> <tns:Holidays> <tns:Fixed month="DECEMBER" day="25" descriptionPropertiesKey="CHRISTMAS"/> <tns:ChristianHoliday type="EASTER" /> <tns:ChristianHoliday type="GOOD_FRIDAY"/> <tns:IslamicHoliday type="ID_AL_FITR"/> <tns:IslamicHoliday type="ID_UL_ADHA"/> </tns:Holidays> </tns:SubConfigurations> <tns:SubConfigurations hierarchy="dd" description="Daman and Diu"> <tns:Holidays> <tns:Fixed month="DECEMBER" day="25" descriptionPropertiesKey="CHRISTMAS"/> <tns:ChristianHoliday type="EASTER" /> <tns:ChristianHoliday type="GOOD_FRIDAY"/> <tns:IslamicHoliday type="ID_AL_FITR"/> <tns:IslamicHoliday type="ID_UL_ADHA"/> </tns:Holidays> </tns:SubConfigurations> <tns:SubConfigurations hierarchy="ld" description="Lakshadweep"> <tns:Holidays> <tns:Fixed month="DECEMBER" day="25" descriptionPropertiesKey="CHRISTMAS"/> <tns:ChristianHoliday type="EASTER" /> <tns:ChristianHoliday type="GOOD_FRIDAY"/> <tns:IslamicHoliday type="ID_UL_ADHA"/> </tns:Holidays> </tns:SubConfigurations> <tns:SubConfigurations hierarchy="dl" description="Delhi"> <tns:Holidays> <tns:Fixed month="DECEMBER" day="25" descriptionPropertiesKey="CHRISTMAS"/> <tns:ChristianHoliday type="EASTER" /> <tns:ChristianHoliday type="GOOD_FRIDAY"/> <tns:IslamicHoliday type="ASCHURA"/> <tns:IslamicHoliday type="ID_AL_FITR"/> <tns:IslamicHoliday type="ID_UL_ADHA"/> </tns:Holidays> </tns:SubConfigurations> <tns:SubConfigurations hierarchy="py" description="Puducherry"> <tns:Holidays> <tns:Fixed month="MAY" day="1" descriptionPropertiesKey="LABOUR_DAY"/> <tns:Fixed month="APRIL" day="14"/> <tns:Fixed month="JANUARY" day="1" descriptionPropertiesKey="NEW_YEAR"/> <tns:Fixed month="DECEMBER" day="25" descriptionPropertiesKey="CHRISTMAS"/> <tns:ChristianHoliday type="EASTER" /> <tns:ChristianHoliday type="GOOD_FRIDAY"/> <tns:IslamicHoliday type="ASCHURA"/> <tns:IslamicHoliday type="MAWLID_AN_NABI"/> <tns:IslamicHoliday type="ID_AL_FITR"/> <tns:IslamicHoliday type="ID_UL_ADHA"/> </tns:Holidays> </tns:SubConfigurations> </tns:Configuration>