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

holidays.Holidays_vg.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="vg" description="Virgin Islands (British)"
               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>

    <!-- The Anniversary of the Birth of Hamilton Lavity Stoutt is always on the first Monday in the month of March even though he was born on the 7th March 1929 -->
    <Fixed month="MARCH" day="7" validFrom="1995" descriptionPropertiesKey="STOUTTS_BIRTHDAY">
      <MovingCondition substitute="TUESDAY" with="PREVIOUS" weekday="MONDAY"/>
      <MovingCondition substitute="WEDNESDAY" with="PREVIOUS" weekday="MONDAY"/>
      <MovingCondition substitute="THURSDAY" with="PREVIOUS" weekday="MONDAY"/>
      <MovingCondition substitute="FRIDAY" with="PREVIOUS" weekday="MONDAY"/>
      <MovingCondition substitute="SATURDAY" with="PREVIOUS" weekday="MONDAY"/>
      <MovingCondition substitute="SUNDAY" with="PREVIOUS" weekday="MONDAY"/>
    </Fixed>

    <!-- https://bvi.gov.vg/media-centre/bvi-announces-public-holiday-april-21-celebrate-her-majesty-s-birthday -->
    <!-- https://bvi.gov.vg/media-centre/revised-2016-public-holidays -->
    <!-- 2016 it was moved due to the Queen's 90th birthday -->
    <Fixed month="APRIL" day="21" validFrom="2016" validTo="2016" descriptionPropertiesKey="SOVEREIGNS_BIRTHDAY"/>

    <!-- https://bvi.gov.vg/media-centre/updatedofficialholidays20231 -->
    <Fixed month="MAY" day="8" validFrom="2023" validTo="2023" descriptionPropertiesKey="KINGS_CORONATION"/>

    <!-- https://bvi.gov.vg/media-centre/revised-2022-public-holidays -->
    <Fixed month="JUNE" day="3" validFrom="2022" validTo="2022" descriptionPropertiesKey="QUEENS_PLATINUM_JUBILEE"/>
    <!-- 2017 it was moved one week later -->
    <Fixed month="JUNE" day="17" validFrom="2017" validTo="2017" descriptionPropertiesKey="SOVEREIGNS_BIRTHDAY"/>
    <!-- 2019 it was moved one week earlier -->
    <Fixed month="JUNE" day="7" validFrom="2019" validTo="2019" descriptionPropertiesKey="SOVEREIGNS_BIRTHDAY"/>
    <!-- 2023 it was moved one week later -->
    <Fixed month="JUNE" day="16" validFrom="2023" validTo="2023" descriptionPropertiesKey="SOVEREIGNS_BIRTHDAY"/>

    <!-- below information for colony day is just assumed to be the same as territory day, so may be very inaccurate -->
    <Fixed month="JULY" day="1" validFrom="1956" validTo="1977" descriptionPropertiesKey="COLONY_DAY">
      <MovingCondition substitute="WEDNESDAY" with="PREVIOUS" weekday="MONDAY"/>
      <MovingCondition substitute="SATURDAY" with="PREVIOUS" weekday="FRIDAY"/>
      <MovingCondition substitute="SUNDAY" with="NEXT" weekday="MONDAY"/>
      <MovingCondition substitute="TUESDAY" with="PREVIOUS" weekday="MONDAY"/>
      <MovingCondition substitute="THURSDAY" with="NEXT" weekday="FRIDAY"/>
    </Fixed>
    <Fixed month="JULY" day="1" validFrom="1978" validTo="2020" descriptionPropertiesKey="TERRITORY_DAY">
      <MovingCondition substitute="WEDNESDAY" with="PREVIOUS" weekday="MONDAY"/>
      <MovingCondition substitute="SATURDAY" with="PREVIOUS" weekday="FRIDAY"/>
      <MovingCondition substitute="SUNDAY" with="NEXT" weekday="MONDAY"/>
      <!-- below assumed, as only data for 2015 to 2020 could be found, which did not include these weekdays -->
      <MovingCondition substitute="TUESDAY" with="PREVIOUS" weekday="MONDAY"/>
      <MovingCondition substitute="THURSDAY" with="NEXT" weekday="FRIDAY"/>
    </Fixed>
    <Fixed month="JULY" day="1" validFrom="2021" descriptionPropertiesKey="VIRGIN_ISLANDS_DAY">
      <MovingCondition substitute="TUESDAY" with="NEXT" weekday="MONDAY"/>
      <MovingCondition substitute="WEDNESDAY" with="NEXT" weekday="MONDAY"/>
      <MovingCondition substitute="THURSDAY" with="NEXT" weekday="MONDAY"/>
      <MovingCondition substitute="FRIDAY" with="NEXT" weekday="MONDAY"/>
      <MovingCondition substitute="SATURDAY" with="NEXT" weekday="MONDAY"/>
      <MovingCondition substitute="SUNDAY" with="NEXT" weekday="MONDAY"/>
    </Fixed>

    <!-- assumed that the holidays before where following this rule too due to missing data for Wednesdays -->
    <Fixed month="OCTOBER" day="21" validTo="2015" descriptionPropertiesKey="ST_URSULA">
      <MovingCondition substitute="WEDNESDAY" with="PREVIOUS" weekday="MONDAY"/>
      <MovingCondition substitute="SATURDAY" with="PREVIOUS" weekday="FRIDAY"/>
      <MovingCondition substitute="SUNDAY" with="NEXT" weekday="MONDAY"/>
      <!-- below assumed, as only data for 2015 to 2020 could be found, which did not include these weekdays -->
      <MovingCondition substitute="TUESDAY" with="PREVIOUS" weekday="MONDAY"/>
      <MovingCondition substitute="THURSDAY" with="NEXT" weekday="FRIDAY"/>
    </Fixed>
    <Fixed month="OCTOBER" day="21" validFrom="2016" validTo="2020" descriptionPropertiesKey="ST_URSULA">
      <MovingCondition substitute="WEDNESDAY" with="NEXT" weekday="FRIDAY"/>
      <MovingCondition substitute="SATURDAY" with="PREVIOUS" weekday="FRIDAY"/>
      <MovingCondition substitute="SUNDAY" with="NEXT" weekday="MONDAY"/>
      <!-- below assumed, as only data for 2015 to 2020 could be found, which did not include these weekdays -->
      <MovingCondition substitute="TUESDAY" with="PREVIOUS" weekday="MONDAY"/>
      <MovingCondition substitute="THURSDAY" with="NEXT" weekday="FRIDAY"/>
    </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="TUESDAY"/>
    </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="MONDAY"/>
    </Fixed>
    <Fixed month="DECEMBER" day="25" validFrom="2017" descriptionPropertiesKey="CHRISTMAS">
      <MovingCondition substitute="SATURDAY" with="NEXT" weekday="MONDAY"/>
      <MovingCondition substitute="SUNDAY" with="NEXT" weekday="TUESDAY"/>
    </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"/>
    </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"/>
      <MovingCondition substitute="MONDAY" 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"/>
    </Fixed>

    <RelativeToWeekdayInMonth weekday="TUESDAY" when="AFTER" validTo="2020" descriptionPropertiesKey="FESTIVAL_TUESDAY">
      <FixedWeekday which="FIRST" weekday="MONDAY" month="AUGUST"/>
    </RelativeToWeekdayInMonth>
    <RelativeToWeekdayInMonth weekday="WEDNESDAY" when="AFTER" validTo="2020" descriptionPropertiesKey="FESTIVAL_WEDNESDAY">
      <FixedWeekday which="FIRST" weekday="MONDAY" month="AUGUST"/>
    </RelativeToWeekdayInMonth>
    <RelativeToWeekdayInMonth weekday="TUESDAY" when="AFTER" validFrom="2021" descriptionPropertiesKey="EMANCIPATION_TUESDAY">
      <FixedWeekday which="FIRST" weekday="MONDAY" month="AUGUST"/>
    </RelativeToWeekdayInMonth>
    <RelativeToWeekdayInMonth weekday="WEDNESDAY" when="AFTER" validFrom="2021" descriptionPropertiesKey="EMANCIPATION_WEDNESDAY">
      <FixedWeekday which="FIRST" weekday="MONDAY" month="AUGUST"/>
    </RelativeToWeekdayInMonth>

    <!-- the start year may be wrong, it is currently set to the earliest possible year -->
    <FixedWeekday which="SECOND" weekday="MONDAY" month="MARCH" validFrom="1977" validTo="2020" descriptionPropertiesKey="COMMONWEALTH_DAY"/>

    <FixedWeekday which="SECOND" weekday="SATURDAY" month="JUNE" validTo="2015" descriptionPropertiesKey="SOVEREIGNS_BIRTHDAY"/>
    <!-- 2016 it was moved due to the Queen's 90th birthday - see above -->
    <!-- 2017 it was moved one week later - see above -->
    <FixedWeekday which="SECOND" weekday="SATURDAY" month="JUNE" validFrom="2018" validTo="2018" descriptionPropertiesKey="SOVEREIGNS_BIRTHDAY"/>
    <!-- 2019 it was moved one week earlier - see above -->
    <FixedWeekday which="SECOND" weekday="FRIDAY" month="JUNE" validFrom="2020" validTo="2022" descriptionPropertiesKey="SOVEREIGNS_BIRTHDAY"/>
    <!-- 2023 it was moved one week later - see above -->
    <FixedWeekday which="SECOND" weekday="FRIDAY" month="JUNE" validFrom="2024" descriptionPropertiesKey="SOVEREIGNS_BIRTHDAY"/>

    <FixedWeekday which="FIRST" weekday="MONDAY" month="AUGUST" validTo="2020" descriptionPropertiesKey="FESTIVAL_MONDAY"/>
    <FixedWeekday which="FIRST" weekday="MONDAY" month="AUGUST" validFrom="2021" descriptionPropertiesKey="EMANCIPATION_MONDAY"/>

    <FixedWeekday which="THIRD" weekday="MONDAY" month="OCTOBER" validFrom="2021" descriptionPropertiesKey="HEROES_AND_FOREPARENTS_DAY"/>

    <!-- https://bvi.gov.vg/media-centre/message-dr-honourable-natalio-d-wheatley-1949-great-march-and-restoration-day -->
    <FixedWeekday which="FOURTH" weekday="MONDAY" month="NOVEMBER" validFrom="2021" descriptionPropertiesKey="1949_GREAT_MARCH_AND_RESTORATION"/>

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

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

  <Sources>
    <Source>https://bvi.gov.vg/tags/public-holidays</Source>
    <Source>https://en.wikipedia.org/wiki/Public_holidays_in_the_British_Virgin_Islands</Source>
    <Source of="ISO 3166">https://www.iso.org/obp/ui/#iso:code:3166:VG</Source>
    <Source of="ISO 3166-2">https://en.wikipedia.org/wiki/ISO_3166-2:VG</Source>
  </Sources>
</Configuration>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy