holidays.Holidays_ru.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="ru" description="Russian Federation" 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="NEXT" weekday="MONDAY"/> <tns:MovingCondition substitute="SUNDAY" with="NEXT" weekday="MONDAY"/> </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:Fixed month="JANUARY" day="3" descriptionPropertiesKey="NEW_YEAR"> <tns:MovingCondition substitute="SATURDAY" with="NEXT" weekday="MONDAY"/> <tns:MovingCondition substitute="SUNDAY" with="NEXT" weekday="MONDAY"/> </tns:Fixed> <tns:Fixed month="JANUARY" day="4" descriptionPropertiesKey="NEW_YEAR"> <tns:MovingCondition substitute="SATURDAY" with="NEXT" weekday="MONDAY"/> <tns:MovingCondition substitute="SUNDAY" with="NEXT" weekday="MONDAY"/> </tns:Fixed> <tns:Fixed month="JANUARY" day="5" descriptionPropertiesKey="NEW_YEAR"> <tns:MovingCondition substitute="SATURDAY" with="NEXT" weekday="MONDAY"/> <tns:MovingCondition substitute="SUNDAY" with="NEXT" weekday="MONDAY"/> </tns:Fixed> <tns:Fixed month="JANUARY" day="6" descriptionPropertiesKey="NEW_YEAR"> <tns:MovingCondition substitute="SATURDAY" with="NEXT" weekday="MONDAY"/> <tns:MovingCondition substitute="SUNDAY" with="NEXT" weekday="MONDAY"/> </tns:Fixed> <tns:Fixed month="JANUARY" day="7" descriptionPropertiesKey="CHRISTMAS"> <tns:MovingCondition substitute="SATURDAY" with="NEXT" weekday="MONDAY"/> <tns:MovingCondition substitute="SUNDAY" with="NEXT" weekday="MONDAY"/> </tns:Fixed> <tns:Fixed month="JANUARY" day="8" descriptionPropertiesKey="NEW_YEAR"> <tns:MovingCondition substitute="SATURDAY" with="NEXT" weekday="MONDAY"/> <tns:MovingCondition substitute="SUNDAY" with="NEXT" weekday="MONDAY"/> </tns:Fixed> <tns:Fixed month="JANUARY" day="9" descriptionPropertiesKey="NEW_YEAR"> <tns:MovingCondition substitute="SATURDAY" with="NEXT" weekday="MONDAY"/> <tns:MovingCondition substitute="SUNDAY" with="NEXT" weekday="MONDAY"/> </tns:Fixed> <tns:Fixed month="JANUARY" day="10" descriptionPropertiesKey="NEW_YEAR"> <tns:MovingCondition substitute="SATURDAY" with="NEXT" weekday="MONDAY"/> <tns:MovingCondition substitute="SUNDAY" with="NEXT" weekday="MONDAY"/> </tns:Fixed> <tns:Fixed month="FEBRUARY" day="23" descriptionPropertiesKey="DEFENDER_FATHERLAND"> <tns:MovingCondition substitute="SATURDAY" with="NEXT" weekday="MONDAY"/> <tns:MovingCondition substitute="SUNDAY" with="NEXT" weekday="MONDAY"/> </tns:Fixed> <tns:Fixed month="MARCH" day="8" descriptionPropertiesKey="INTERNATIONAL_WOMAN"> <tns:MovingCondition substitute="SATURDAY" with="NEXT" weekday="MONDAY"/> <tns:MovingCondition substitute="SUNDAY" with="NEXT" weekday="MONDAY"/> </tns:Fixed> <tns:Fixed month="MAY" day="1" descriptionPropertiesKey="LABOUR_DAY"> <tns:MovingCondition substitute="SATURDAY" with="NEXT" weekday="MONDAY"/> <tns:MovingCondition substitute="SUNDAY" with="NEXT" weekday="MONDAY"/> </tns:Fixed> <tns:Fixed month="MAY" day="9" descriptionPropertiesKey="VICTORY"> <tns:MovingCondition substitute="SATURDAY" with="NEXT" weekday="MONDAY"/> <tns:MovingCondition substitute="SUNDAY" with="NEXT" weekday="MONDAY"/> </tns:Fixed> <tns:Fixed month="JUNE" day="12" validFrom="1992" descriptionPropertiesKey="INDEPENDENCE" > <tns:MovingCondition substitute="SATURDAY" with="NEXT" weekday="MONDAY"/> <tns:MovingCondition substitute="SUNDAY" with="NEXT" weekday="MONDAY"/> </tns:Fixed> <tns:Fixed month="NOVEMBER" day="4" validFrom="2005" descriptionPropertiesKey="CONSOLIDATION"> <tns:MovingCondition substitute="SATURDAY" with="NEXT" weekday="MONDAY"/> <tns:MovingCondition substitute="SUNDAY" with="NEXT" weekday="MONDAY"/> </tns:Fixed> </tns:Holidays> </tns:Configuration>