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

holidays.Holidays_ca.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="ca" description="Canada"
               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="JANUARY" day="1" descriptionPropertiesKey="NEW_YEAR"/>
    <Fixed month="JULY" day="1" descriptionPropertiesKey="CANADA_DAY">
          <MovingCondition substitute="SUNDAY" with="NEXT" weekday="MONDAY"/>
    </Fixed>
    <Fixed month="DECEMBER" day="25" descriptionPropertiesKey="CHRISTMAS"/>

    <FixedWeekday which="FIRST" weekday="MONDAY" month="SEPTEMBER" descriptionPropertiesKey="LABOUR_DAY"/>

    <ChristianHoliday type="GOOD_FRIDAY" descriptionPropertiesKey="christian.GOOD_FRIDAY"/>
  </Holidays>

  <SubConfigurations hierarchy="on" description="Ontario">
    <Holidays>
      <Fixed month="DECEMBER" day="26" descriptionPropertiesKey="BOXING_DAY"/>

      <RelativeToFixed descriptionPropertiesKey="VICTORIA_DAY">
        <Weekday>MONDAY</Weekday>
        <When>BEFORE</When>
        <Date month="MAY" day="25"/>
      </RelativeToFixed>

      <FixedWeekday which="THIRD" weekday="MONDAY" month="FEBRUARY" validFrom="2008" descriptionPropertiesKey="FAMILY_DAY"/>
      <FixedWeekday which="SECOND" weekday="MONDAY" month="OCTOBER" descriptionPropertiesKey="THANKSGIVING"/>
    </Holidays>
  </SubConfigurations>

  <SubConfigurations hierarchy="yt" description="Yukon">
    <Holidays>
      <Fixed month="JUNE" day="21" validFrom="2017" descriptionPropertiesKey="INDIGENOUS_PEOPLES_DAY"/>
      <Fixed month="SEPTEMBER" day="30" descriptionPropertiesKey="TRUTH_RECONCILIATION_DAY"/>
      <Fixed month="NOVEMBER" day="11" descriptionPropertiesKey="REMEMBRANCE"/>

      <RelativeToFixed descriptionPropertiesKey="VICTORIA_DAY">
        <Weekday>MONDAY</Weekday>
        <When>BEFORE</When>
        <Date month="MAY" day="25"/>
      </RelativeToFixed>

      <FixedWeekday which="THIRD" weekday="MONDAY" month="AUGUST" descriptionPropertiesKey="DISCOVERY_DAY"/>
      <FixedWeekday which="SECOND" weekday="MONDAY" month="OCTOBER" descriptionPropertiesKey="THANKSGIVING"/>
    </Holidays>
  </SubConfigurations>

  <SubConfigurations hierarchy="qc" description="Quebec">
    <Holidays>
      <Fixed month="JUNE" day="24" descriptionPropertiesKey="SAINT_JEAN_BAPTISTE_DAY"/>

      <RelativeToFixed descriptionPropertiesKey="PATRIOT">
        <Weekday>MONDAY</Weekday>
        <When>BEFORE</When>
        <Date month="MAY" day="25"/>
      </RelativeToFixed>

      <FixedWeekday which="SECOND" weekday="MONDAY" month="OCTOBER" descriptionPropertiesKey="THANKSGIVING"/>

      <ChristianHoliday type="EASTER_MONDAY" descriptionPropertiesKey="christian.EASTER_MONDAY"/>
    </Holidays>
  </SubConfigurations>

  <SubConfigurations hierarchy="ns" description="Nova Scotia">
    <Holidays>
      <Fixed month="NOVEMBER" day="11" descriptionPropertiesKey="REMEMBRANCE"/>

      <FixedWeekday which="THIRD" weekday="MONDAY" month="FEBRUARY" validFrom="2015" descriptionPropertiesKey="HERITAGE"/>
    </Holidays>
  </SubConfigurations>

  <SubConfigurations hierarchy="nb" description="New Brunswick">
    <Holidays>
      <Fixed month="NOVEMBER" day="11" descriptionPropertiesKey="REMEMBRANCE"/>
      <Fixed month="DECEMBER" day="26" descriptionPropertiesKey="BOXING_DAY" localizedType="UNOFFICIAL_HOLIDAY"/>

      <RelativeToFixed descriptionPropertiesKey="VICTORIA_DAY" localizedType="UNOFFICIAL_HOLIDAY">
        <Weekday>MONDAY</Weekday>
        <When>BEFORE</When>
        <Date month="MAY" day="25"/>
      </RelativeToFixed>

      <FixedWeekday which="THIRD" weekday="MONDAY" month="FEBRUARY" validFrom="2018" descriptionPropertiesKey="FAMILY_DAY"/>
      <FixedWeekday which="FIRST" weekday="MONDAY" month="AUGUST" descriptionPropertiesKey="NEW_BRUNSWICK_DAY"/>
      <FixedWeekday which="SECOND" weekday="MONDAY" month="OCTOBER" descriptionPropertiesKey="THANKSGIVING" localizedType="UNOFFICIAL_HOLIDAY"/>
    </Holidays>
  </SubConfigurations>

  <SubConfigurations hierarchy="mb" description="Manitoba">
    <Holidays>
      <Fixed month="SEPTEMBER" day="30" validFrom="2024" descriptionPropertiesKey="ORANGE_SHIRT_DAY"/>

      <RelativeToFixed descriptionPropertiesKey="VICTORIA_DAY">
        <Weekday>MONDAY</Weekday>
        <When>BEFORE</When>
        <Date month="MAY" day="25"/>
      </RelativeToFixed>

      <FixedWeekday which="THIRD" weekday="MONDAY" month="FEBRUARY" validFrom="2008" descriptionPropertiesKey="LOUIS_RIEL"/>
      <FixedWeekday which="SECOND" weekday="MONDAY" month="OCTOBER" descriptionPropertiesKey="THANKSGIVING"/>
    </Holidays>
  </SubConfigurations>

  <SubConfigurations hierarchy="nt" description="Northwest Territories">
    <Holidays>
      <Fixed month="JUNE" day="21" validFrom="1996" descriptionPropertiesKey="INDIGENOUS_PEOPLES_DAY"/>
      <Fixed month="SEPTEMBER" day="30" descriptionPropertiesKey="TRUTH_RECONCILIATION_DAY"/>
      <Fixed month="NOVEMBER" day="11" descriptionPropertiesKey="REMEMBRANCE"/>

      <RelativeToFixed descriptionPropertiesKey="VICTORIA_DAY">
        <Weekday>MONDAY</Weekday>
        <When>BEFORE</When>
        <Date month="MAY" day="25"/>
      </RelativeToFixed>

      <FixedWeekday which="FIRST" weekday="MONDAY" month="AUGUST" descriptionPropertiesKey="CIVIC"/>
      <FixedWeekday which="SECOND" weekday="MONDAY" month="OCTOBER" descriptionPropertiesKey="THANKSGIVING"/>
    </Holidays>
  </SubConfigurations>

  <SubConfigurations hierarchy="nu" description="Nunavut">
    <Holidays>
      <Fixed month="APRIL" day="1" validFrom="2000" validTo="2000" descriptionPropertiesKey="NUNAVUT_DAY"/>
      <Fixed month="JULY" day="9" validFrom="2001" descriptionPropertiesKey="NUNAVUT_DAY"/>
      <Fixed month="SEPTEMBER" day="30" descriptionPropertiesKey="TRUTH_RECONCILIATION_DAY"/>
      <Fixed month="NOVEMBER" day="11" descriptionPropertiesKey="REMEMBRANCE"/>

      <RelativeToFixed descriptionPropertiesKey="VICTORIA_DAY">
        <Weekday>MONDAY</Weekday>
        <When>BEFORE</When>
        <Date month="MAY" day="25"/>
      </RelativeToFixed>

      <FixedWeekday which="FIRST" weekday="MONDAY" month="AUGUST" descriptionPropertiesKey="CIVIC"/>
      <FixedWeekday which="SECOND" weekday="MONDAY" month="OCTOBER" descriptionPropertiesKey="THANKSGIVING"/>
    </Holidays>
  </SubConfigurations>

  <SubConfigurations hierarchy="bc" description="British Columbia">
    <Holidays>
      <Fixed month="SEPTEMBER" day="30" descriptionPropertiesKey="TRUTH_RECONCILIATION_DAY"/>
      <Fixed month="NOVEMBER" day="11" descriptionPropertiesKey="REMEMBRANCE"/>

      <RelativeToFixed descriptionPropertiesKey="VICTORIA_DAY">
        <Weekday>MONDAY</Weekday>
        <When>BEFORE</When>
        <Date month="MAY" day="25"/>
      </RelativeToFixed>

      <FixedWeekday which="SECOND" weekday="MONDAY" month="FEBRUARY" validFrom="2013" validTo="2018" descriptionPropertiesKey="FAMILY_DAY"/>
      <FixedWeekday which="THIRD" weekday="MONDAY" month="FEBRUARY" validFrom="2019" descriptionPropertiesKey="FAMILY_DAY"/>
      <FixedWeekday which="FIRST" weekday="MONDAY" month="AUGUST" descriptionPropertiesKey="CIVIC"/>
      <FixedWeekday which="SECOND" weekday="MONDAY" month="OCTOBER" descriptionPropertiesKey="THANKSGIVING"/>
    </Holidays>
  </SubConfigurations>

  <SubConfigurations hierarchy="pe" description="Prince Edward Island">
    <Holidays>
      <Fixed month="SEPTEMBER" day="30" descriptionPropertiesKey="TRUTH_RECONCILIATION_DAY"/>
      <Fixed month="NOVEMBER" day="11" descriptionPropertiesKey="REMEMBRANCE"/>

      <FixedWeekday which="SECOND" weekday="MONDAY" month="FEBRUARY" validFrom="2009" validTo="2009" descriptionPropertiesKey="ISLANDER_DAY"/>
      <FixedWeekday which="THIRD" weekday="MONDAY" month="FEBRUARY" validFrom="2010" descriptionPropertiesKey="ISLANDER_DAY"/>
    </Holidays>
  </SubConfigurations>

  <SubConfigurations hierarchy="sk" description="Saskatchewan">
    <Holidays>
      <Fixed month="NOVEMBER" day="11" descriptionPropertiesKey="REMEMBRANCE"/>

      <RelativeToFixed descriptionPropertiesKey="VICTORIA_DAY">
        <Weekday>MONDAY</Weekday>
        <When>BEFORE</When>
        <Date month="MAY" day="25"/>
      </RelativeToFixed>

      <FixedWeekday which="THIRD" weekday="MONDAY" month="FEBRUARY" validFrom="2007" descriptionPropertiesKey="FAMILY_DAY"/>
      <FixedWeekday which="FIRST" weekday="MONDAY" month="AUGUST" descriptionPropertiesKey="SASKATCHEWAN_DAY"/>
      <FixedWeekday which="SECOND" weekday="MONDAY" month="OCTOBER" descriptionPropertiesKey="THANKSGIVING"/>
    </Holidays>
  </SubConfigurations>

  <SubConfigurations hierarchy="ab" description="Alberta">
    <Holidays>
      <Fixed month="NOVEMBER" day="11" descriptionPropertiesKey="REMEMBRANCE"/>

      <RelativeToFixed descriptionPropertiesKey="VICTORIA_DAY">
        <Weekday>MONDAY</Weekday>
        <When>BEFORE</When>
        <Date month="MAY" day="25"/>
      </RelativeToFixed>

      <FixedWeekday which="THIRD" weekday="MONDAY" month="FEBRUARY" validFrom="1990" descriptionPropertiesKey="FAMILY_DAY"/>
      <FixedWeekday which="SECOND" weekday="MONDAY" month="OCTOBER" descriptionPropertiesKey="THANKSGIVING"/>
    </Holidays>
  </SubConfigurations>

  <SubConfigurations hierarchy="nl" description="Newfoundland and Labrador">
    <Holidays>
      <Fixed month="NOVEMBER" day="11" descriptionPropertiesKey="REMEMBRANCE"/>
    </Holidays>
  </SubConfigurations>

</Configuration>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy