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

holidays.Holidays_bm.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="bm" description="Bermuda"
               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.bm/theofficialgazette/notices/gn03142023 -->
    <!-- https://www.gov.bm/public-holidays -->
    <Fixed month="MAY" day="8" validFrom="2023" validTo="2023" descriptionPropertiesKey="KINGS_CORONATION"/>

    <Fixed month="MAY" day="24" validFrom="1979" validTo="2017" descriptionPropertiesKey="BERMUDA_DAY">
      <MovingCondition substitute="SATURDAY" with="NEXT" weekday="MONDAY"/>
      <MovingCondition substitute="SUNDAY" with="NEXT" weekday="MONDAY"/>
    </Fixed>
    <!-- 2019 it was moved one week earlier -->
    <Fixed month="MAY" day="24" validFrom="2019" validTo="2019" descriptionPropertiesKey="BERMUDA_DAY"/>

    <!-- https://culture.bm/photo/national-heroes-day/ -->
    <Fixed month="OCTOBER" day="12" validFrom="2008" validTo="2008" descriptionPropertiesKey="NATIONAL_HEROES_DAY"/>

    <Fixed month="NOVEMBER" day="4" validFrom="2019" validTo="2019" descriptionPropertiesKey="170_ANNIVERSARY_ARRIVAL_BERMUDA"/>

    <!-- the start year may be wrong, it is currently set to the earliest possible year -->
    <Fixed month="NOVEMBER" day="11" validFrom="1919" descriptionPropertiesKey="REMEMBRANCE">
      <MovingCondition substitute="SATURDAY" with="NEXT" weekday="MONDAY"/>
      <MovingCondition substitute="SUNDAY" with="NEXT" weekday="MONDAY"/>
    </Fixed>

    <!-- assume that 2016 was an outlier -->
    <Fixed month="DECEMBER" day="25" validTo="2015" descriptionPropertiesKey="CHRISTMAS">
      <MovingCondition substitute="SATURDAY" with="NEXT" weekday="MONDAY"/>
      <MovingCondition substitute="SUNDAY" with="NEXT" weekday="MONDAY"/>
    </Fixed>
    <Fixed month="DECEMBER" day="25" validFrom="2016" validTo="2016" descriptionPropertiesKey="CHRISTMAS">
      <MovingCondition substitute="SATURDAY" with="NEXT" weekday="MONDAY"/>
      <MovingCondition substitute="SUNDAY" with="NEXT" weekday="TUESDAY"/>
    </Fixed>
    <Fixed month="DECEMBER" day="25" validFrom="2017" descriptionPropertiesKey="CHRISTMAS">
      <MovingCondition substitute="SATURDAY" with="NEXT" weekday="MONDAY"/>
      <MovingCondition substitute="SUNDAY" with="NEXT" weekday="MONDAY"/>
    </Fixed>
    <!-- assume that 2016 was an outlier -->
    <Fixed month="DECEMBER" day="26" validTo="2015" 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>
    <Fixed month="DECEMBER" day="26" validFrom="2016" validTo="2016" descriptionPropertiesKey="BOXING_DAY">
      <MovingCondition substitute="SATURDAY" with="NEXT" weekday="MONDAY"/>
      <MovingCondition substitute="SUNDAY" with="NEXT" weekday="TUESDAY"/>
    </Fixed>
    <Fixed month="DECEMBER" day="26" validFrom="2017" 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="LAST" weekday="FRIDAY" month="MAY" validFrom="2018" validTo="2018" descriptionPropertiesKey="BERMUDA_DAY"/>
    <!-- 2019 it was moved one week earlier - see above -->
    <FixedWeekday which="LAST" weekday="FRIDAY" month="MAY" validFrom="2020" validTo="2020" descriptionPropertiesKey="BERMUDA_DAY"/>

    <!-- the Friday before the last Monday in May -->
    <FixedWeekday which="FOURTH" weekday="FRIDAY" month="MAY" validFrom="2021" descriptionPropertiesKey="BERMUDA_DAY"/>

    <FixedWeekday which="THIRD" weekday="MONDAY" month="JUNE" validFrom="2009" descriptionPropertiesKey="NATIONAL_HEROES_DAY"/>

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

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

    <!-- the Thursday before the first Monday in August -->
    <FixedWeekdayBetweenFixed weekday="THURSDAY" validFrom="1947" descriptionPropertiesKey="EMANCIPATION_DAY">
      <from month="JULY" day="28"/>
      <to month="AUGUST" day="3"/>
    </FixedWeekdayBetweenFixed>

    <!-- the Friday before the first Monday in August -->
    <FixedWeekdayBetweenFixed weekday="FRIDAY" validFrom="1947" validTo="2019" descriptionPropertiesKey="SOMERS_DAY">
      <from month="JULY" day="29"/>
      <to month="AUGUST" day="4"/>
    </FixedWeekdayBetweenFixed>
    <!-- the Friday before the first Monday in August -->
    <FixedWeekdayBetweenFixed weekday="FRIDAY" validFrom="2020" descriptionPropertiesKey="MARY_PRINCE_DAY">
      <from month="JULY" day="29"/>
      <to month="AUGUST" day="4"/>
    </FixedWeekdayBetweenFixed>
  </Holidays>

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy