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

holidays.Holidays_mx.xml Maven / Gradle / Ivy

Go to download

Core module of the jollyday library that contains the API for the developers and the core concept how to retrieve holiday information for a country of jollyday.

There is a newer version: 0.32.0
Show newest version
<?xml version="1.0" encoding="UTF-8"?>

<Configuration hierarchy="mx" description="Mexico"
               xmlns="https://focus_shift.de/jollyday/schema/holiday"
               xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
               xsi:schemaLocation="https://focus_shift.de/jollyday/schema/holiday https://focus_shift.de/jollyday/schema/holiday/holiday.xsd">
  <Holidays>
    <Fixed month="FEBRUARY" day="19" localizedType="UNOFFICIAL_HOLIDAY" descriptionPropertiesKey="ARMY_DAY"/>
    <Fixed month="FEBRUARY" day="24" validFrom="1937" localizedType="UNOFFICIAL_HOLIDAY"
               descriptionPropertiesKey="FLAG_DAY"/>
    <Fixed month="MARCH" day="18" validFrom="1938" localizedType="UNOFFICIAL_HOLIDAY"
               descriptionPropertiesKey="OIL_EXPROPRIATION_DAY"/>
    <Fixed month="OCTOBER" day="12" localizedType="UNOFFICIAL_HOLIDAY" descriptionPropertiesKey="COLUMBUS_DAY"/>
    <Fixed month="JANUARY" day="1" descriptionPropertiesKey="NEW_YEAR">
      <MovingCondition substitute="SATURDAY" with="PREVIOUS" weekday="FRIDAY"/>
      <MovingCondition substitute="SUNDAY" with="NEXT" weekday="MONDAY"/>
    </Fixed>
    <Fixed month="MAY" day="1" descriptionPropertiesKey="LABOUR_DAY">
      <MovingCondition substitute="SATURDAY" with="PREVIOUS" weekday="FRIDAY"/>
      <MovingCondition substitute="SUNDAY" with="NEXT" weekday="MONDAY"/>
    </Fixed>
    <Fixed month="SEPTEMBER" day="16" descriptionPropertiesKey="INDEPENDENCE_DAY">
      <MovingCondition substitute="SATURDAY" with="PREVIOUS" weekday="FRIDAY"/>
      <MovingCondition substitute="SUNDAY" with="NEXT" weekday="MONDAY"/>
    </Fixed>
    <Fixed month="DECEMBER" day="1" validFrom="1934" every="SIX_YEARS" descriptionPropertiesKey="GOVERNMENT_CHANGE">
      <MovingCondition substitute="SATURDAY" with="PREVIOUS" weekday="FRIDAY"/>
      <MovingCondition substitute="SUNDAY" with="NEXT" weekday="MONDAY"/>
    </Fixed>
    <Fixed month="DECEMBER" day="25" descriptionPropertiesKey="CHRISTMAS">
      <MovingCondition substitute="SATURDAY" with="PREVIOUS" weekday="FRIDAY"/>
      <MovingCondition substitute="SUNDAY" with="NEXT" weekday="MONDAY"/>
    </Fixed>
    <FixedWeekday which="FIRST" weekday="MONDAY" month="FEBRUARY" descriptionPropertiesKey="CONSTITUTION_DAY"/>
    <FixedWeekday which="THIRD" weekday="MONDAY" month="MARCH" descriptionPropertiesKey="JUAREZ_BIRTHDAY"/>
    <FixedWeekday which="THIRD" weekday="MONDAY" month="NOVEMBER" descriptionPropertiesKey="REVOLUTION"/>
  </Holidays>

  <SubConfigurations hierarchy="pue" description="Puebla">
    <Holidays>
      <Fixed month="MAY" day="5" descriptionPropertiesKey="MAY_DAY" localizedType="UNOFFICIAL_HOLIDAY"/>
    </Holidays>
  </SubConfigurations>
</Configuration>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy