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

holidays.Holidays_bs.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="bs" description="Bahamas"
               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">
      <!-- below assumed based on general information about moving holidays from 2020 -->
      <MovingCondition substitute="SATURDAY" with="NEXT" weekday="MONDAY"/>
      <MovingCondition substitute="SUNDAY" with="NEXT" weekday="MONDAY"/>
      <MovingCondition substitute="TUESDAY" with="PREVIOUS" weekday="MONDAY"/>
      <MovingCondition substitute="WEDNESDAY" with="NEXT" weekday="FRIDAY"/>
      <MovingCondition substitute="THURSDAY" with="NEXT" weekday="FRIDAY"/>
    </Fixed>

    <Fixed month="JANUARY" day="10" validFrom="2014" descriptionPropertiesKey="MAJORITY_RULE_DAY">
      <!-- below assumed based on general information about moving holidays from 2020 -->
      <MovingCondition substitute="SATURDAY" with="NEXT" weekday="MONDAY"/>
      <MovingCondition substitute="SUNDAY" with="NEXT" weekday="MONDAY"/>
      <MovingCondition substitute="TUESDAY" with="PREVIOUS" weekday="MONDAY"/>
      <MovingCondition substitute="WEDNESDAY" with="NEXT" weekday="FRIDAY"/>
      <MovingCondition substitute="THURSDAY" with="NEXT" weekday="FRIDAY"/>
    </Fixed>

    <!-- the start year may be wrong, it is currently set to the earliest possible year -->
    <Fixed month="JULY" day="10" validFrom="1973" descriptionPropertiesKey="INDEPENDENCE_DAY">
      <!-- below assumed based on general information about moving holidays from 2020 -->
      <MovingCondition substitute="SATURDAY" with="NEXT" weekday="MONDAY"/>
      <MovingCondition substitute="SUNDAY" with="NEXT" weekday="MONDAY"/>
      <MovingCondition substitute="TUESDAY" with="PREVIOUS" weekday="MONDAY"/>
    </Fixed>

    <Fixed month="DECEMBER" day="25" descriptionPropertiesKey="CHRISTMAS">
      <!-- below assumed based on general information about moving holidays from 2020 -->
      <MovingCondition substitute="SATURDAY" with="NEXT" weekday="MONDAY"/>
      <MovingCondition substitute="SUNDAY" with="NEXT" weekday="MONDAY"/>
    </Fixed>
    <Fixed month="DECEMBER" day="26" descriptionPropertiesKey="BOXING_DAY">
      <!-- below assumed based on general information about moving holidays from 2020 -->
      <MovingCondition substitute="SUNDAY" with="NEXT" weekday="TUESDAY"/>
      <MovingCondition substitute="MONDAY" with="NEXT" weekday="TUESDAY"/>
      <MovingCondition substitute="SATURDAY" with="NEXT" weekday="MONDAY"/>
    </Fixed>

    <FixedWeekday which="FIRST" weekday="FRIDAY" month="JUNE" descriptionPropertiesKey="LABOUR_DAY"/>

    <FixedWeekday which="FIRST" weekday="MONDAY" month="AUGUST" descriptionPropertiesKey="EMANCIPATION_DAY"/>

    <FixedWeekday which="SECOND" weekday="MONDAY" month="OCTOBER" validFrom="2013" descriptionPropertiesKey="NATIONAL_HEROES_DAY"/>

    <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>
</Configuration>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy