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

holidays.Holidays_ky.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="ky" description="Cayman Islands"
               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">
      <MovingCondition substitute="SATURDAY" with="NEXT" weekday="MONDAY"/>
      <MovingCondition substitute="SUNDAY" with="NEXT" weekday="MONDAY"/>
    </Fixed>

    <!-- https://www.gov.ky/news/press-release-details/kings-coronation-celebrated-in-cayman -->
    <!-- https://www.gov.ky/calendar/public-holidays -->
    <Fixed month="MAY" day="8" validFrom="2023" validTo="2023" descriptionPropertiesKey="KINGS_CORONATION"/>

    <!-- https://archives.gov.ky/Archive/view_press_release/2663/public-holidays-2009 -->
    <Fixed month="MAY" day="20" validFrom="2009" validTo="2009"  descriptionPropertiesKey="ELECTION_DAY"/>

    <!-- https://www.gov.ky/news/press-release-details/public-holidays-2022 -->
    <Fixed month="JUNE" day="3" validFrom="2022" validTo="2022" descriptionPropertiesKey="QUEENS_PLATINUM_JUBILEE"/>

    <!-- https://archives.gov.ky/Archive/view_press_release/3325/yes-its-a-public-holiday -->
    <Fixed month="NOVEMBER" day="6" validFrom="2009" validTo="2009" descriptionPropertiesKey="CONSTITUTION_COMMENCEMENT_2009"/>

    <Fixed month="DECEMBER" day="25" descriptionPropertiesKey="CHRISTMAS">
      <MovingCondition substitute="SATURDAY" with="NEXT" weekday="MONDAY"/>
      <MovingCondition substitute="SUNDAY" with="NEXT" weekday="MONDAY"/>
    </Fixed>
    <Fixed month="DECEMBER" day="26" descriptionPropertiesKey="BOXING_DAY">
      <MovingCondition substitute="SATURDAY" with="NEXT" weekday="MONDAY"/>
      <MovingCondition substitute="SUNDAY" with="NEXT" weekday="TUESDAY"/>
      <MovingCondition substitute="MONDAY" with="NEXT" weekday="TUESDAY"/>
    </Fixed>

    <FixedWeekday which="FOURTH" weekday="MONDAY" month="JANUARY" descriptionPropertiesKey="NATIONAL_HEROES_DAY"/>

    <!-- parliament dissolved early, assume this will be the new rule, TBD at last in 2025 -->
    <FixedWeekday which="SECOND" weekday="WEDNESDAY" month="APRIL" validFrom="2021" every="FOUR_YEARS" descriptionPropertiesKey="ELECTION_DAY"/>

    <FixedWeekday which="THIRD" weekday="MONDAY" month="MAY" validTo="2023" descriptionPropertiesKey="DISCOVERY_DAY"/>
    <FixedWeekday which="FIRST" weekday="MONDAY" month="MAY" validFrom="2024" descriptionPropertiesKey="EMANCIPATION_DAY"/>

    <FixedWeekday which="FOURTH" weekday="WEDNESDAY" month="MAY" validFrom="2013" validTo="2017" every="FOUR_YEARS"  descriptionPropertiesKey="ELECTION_DAY"/>

    <!-- The Public Holiday Act 2007 sets out the Sovereign’s official birthday celebration as “The Monday following the
    Saturday appointed in the United Kingdom as the official birthday of the reigning sovereign”. -->
    <!-- information for pre-2008 will very likely be very inaccurate, as just assumed to be the same since the accession of Elizabeth II -->
    <FixedWeekday which="THIRD" weekday="MONDAY" month="JUNE" validFrom="1952" validTo="2009" descriptionPropertiesKey="QUEENS_BIRTHDAY"/>
    <FixedWeekday which="SECOND" weekday="MONDAY" month="JUNE" validFrom="2010" validTo="2011" descriptionPropertiesKey="QUEENS_BIRTHDAY"/>
    <FixedWeekday which="THIRD" weekday="MONDAY" month="JUNE" validFrom="2012" validTo="2015" descriptionPropertiesKey="QUEENS_BIRTHDAY"/>
    <FixedWeekday which="SECOND" weekday="MONDAY" month="JUNE" validFrom="2016" validTo="2016" descriptionPropertiesKey="QUEENS_BIRTHDAY"/>
    <FixedWeekday which="THIRD" weekday="MONDAY" month="JUNE" validFrom="2017" validTo="2017" descriptionPropertiesKey="QUEENS_BIRTHDAY"/>
    <FixedWeekday which="SECOND" weekday="MONDAY" month="JUNE" validFrom="2018" validTo="2019" descriptionPropertiesKey="QUEENS_BIRTHDAY"/>
    <FixedWeekday which="THIRD" weekday="MONDAY" month="JUNE" validFrom="2020" validTo="2020" descriptionPropertiesKey="QUEENS_BIRTHDAY"/>
    <FixedWeekday which="SECOND" weekday="MONDAY" month="JUNE" validFrom="2021" validTo="2021" descriptionPropertiesKey="QUEENS_BIRTHDAY"/>
    <FixedWeekday which="FIRST" weekday="MONDAY" month="JUNE" validFrom="2022" validTo="2022" descriptionPropertiesKey="QUEENS_BIRTHDAY"/>

    <!-- https://www.gov.ky/calendar/public-holidays -->
    <FixedWeekday which="THIRD" weekday="MONDAY" month="JUNE" validFrom="2023" descriptionPropertiesKey="KINGS_DAY"/>

    <FixedWeekday which="FIRST" weekday="MONDAY" month="JULY" descriptionPropertiesKey="CONSTITUTION_DAY"/>

    <!-- https://www.gov.ky/calendar/public-holidays -->
    <!-- To commemorate the official passage of the Atlantic hurricane season which ends on 30th November, Cayman
    Thanksgiving is celebrated on the first Sunday in December. Whilst not a public holiday, this observance was agreed in
    Cabinet and is officially recognised as part of the national calendar. -->
    <!-- only "Observance (agreed in Cabinet)" and not "Official Public Holiday" -->
    <FixedWeekday which="FIRST" weekday="SUNDAY" month="DECEMBER" validFrom="2023" descriptionPropertiesKey="CAYMAN_THANKSGIVING"/>

    <ChristianHoliday type="ASH_WEDNESDAY" descriptionPropertiesKey="christian.ASH_WEDNESDAY"/>
    <ChristianHoliday type="GOOD_FRIDAY" descriptionPropertiesKey="christian.GOOD_FRIDAY"/>
    <ChristianHoliday type="EASTER_MONDAY" descriptionPropertiesKey="christian.EASTER_MONDAY"/>

    <!-- https://archives.gov.ky/Archive/view_press_release/2356/public-holidays-2009 -->
    <!-- The Monday after Remembrance Sunday (the Sunday nearest to 11 November) -->
    <!-- the start year may be wrong, it is currently set to the earliest possible year -->
    <FixedWeekdayBetweenFixed weekday="MONDAY" validFrom="1919" descriptionPropertiesKey="REMEMBRANCE">
      <from month="NOVEMBER" day="9"/>
      <to month="NOVEMBER" day="15"/>
    </FixedWeekdayBetweenFixed>
  </Holidays>

  <Sources>
    <Source>https://www.gov.ky/calendar/public-holidays</Source>
    <Source>https://en.wikipedia.org/wiki/Public_holidays_in_the_Cayman_Islands</Source>
    <Source of="ISO 3166">https://www.iso.org/obp/ui/#iso:code:3166:KY</Source>
    <Source of="ISO 3166-2">https://en.wikipedia.org/wiki/ISO_3166-2:KY</Source>
  </Sources>
</Configuration>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy