-
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: XSpielinbox <[email protected]>
- Loading branch information
1 parent
df5c622
commit 2372ae6
Showing
4 changed files
with
63 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<tns:Configuration hierarchy="bs" description="Bahamas" xmlns:tns="http://www.example.org/Holiday" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://www.example.org/Holiday /Holiday.xsd"> | ||
<tns:Holidays> | ||
<tns:Fixed month="JANUARY" day="1" descriptionPropertiesKey="NEW_YEAR"> | ||
<!-- below assumed based on general information about moving holidays from 2020 --> | ||
<tns:MovingCondition substitute="SATURDAY" with="NEXT" weekday="MONDAY"/> | ||
<tns:MovingCondition substitute="SUNDAY" with="NEXT" weekday="MONDAY"/> | ||
<tns:MovingCondition substitute="TUESDAY" with="PREVIOUS" weekday="MONDAY"/> | ||
<tns:MovingCondition substitute="WEDNESDAY" with="NEXT" weekday="FRIDAY"/> | ||
<tns:MovingCondition substitute="THURSDAY" with="NEXT" weekday="FRIDAY"/> | ||
</tns:Fixed> | ||
|
||
<tns:Fixed month="JANUARY" day="10" validFrom="2014" descriptionPropertiesKey="MAJORITY_RULE_DAY"> | ||
<!-- below assumed based on general information about moving holidays from 2020 --> | ||
<tns:MovingCondition substitute="SATURDAY" with="NEXT" weekday="MONDAY"/> | ||
<tns:MovingCondition substitute="SUNDAY" with="NEXT" weekday="MONDAY"/> | ||
<tns:MovingCondition substitute="TUESDAY" with="PREVIOUS" weekday="MONDAY"/> | ||
<tns:MovingCondition substitute="WEDNESDAY" with="NEXT" weekday="FRIDAY"/> | ||
<tns:MovingCondition substitute="THURSDAY" with="NEXT" weekday="FRIDAY"/> | ||
</tns:Fixed> | ||
|
||
<!-- the start year may be wrong, it is currently set to the earliest possible year --> | ||
<tns:Fixed month="JULY" day="10" validFrom="1973" descriptionPropertiesKey="INDEPENDENCE_DAY"> | ||
<!-- below assumed based on general information about moving holidays from 2020 --> | ||
<tns:MovingCondition substitute="SATURDAY" with="NEXT" weekday="MONDAY"/> | ||
<tns:MovingCondition substitute="SUNDAY" with="NEXT" weekday="MONDAY"/> | ||
<tns:MovingCondition substitute="TUESDAY" with="PREVIOUS" weekday="MONDAY"/> | ||
</tns:Fixed> | ||
|
||
<tns:Fixed month="DECEMBER" day="25" descriptionPropertiesKey="CHRISTMAS"> | ||
<!-- below assumed based on general information about moving holidays from 2020 --> | ||
<tns:MovingCondition substitute="SATURDAY" with="NEXT" weekday="MONDAY"/> | ||
<tns:MovingCondition substitute="SUNDAY" with="NEXT" weekday="MONDAY"/> | ||
</tns:Fixed> | ||
<tns:Fixed month="DECEMBER" day="26" descriptionPropertiesKey="BOXING_DAY"> | ||
<!-- below assumed based on general information about moving holidays from 2020 --> | ||
<tns:MovingCondition substitute="SUNDAY" with="NEXT" weekday="TUESDAY"/> | ||
<tns:MovingCondition substitute="MONDAY" with="NEXT" weekday="TUESDAY"/> | ||
<tns:MovingCondition substitute="SATURDAY" with="NEXT" weekday="MONDAY"/> | ||
</tns:Fixed> | ||
|
||
<tns:FixedWeekday which="FIRST" weekday="FRIDAY" month="JUNE" descriptionPropertiesKey="LABOUR_DAY"/> | ||
|
||
<tns:FixedWeekday which="FIRST" weekday="MONDAY" month="AUGUST" descriptionPropertiesKey="EMANCIPATION_DAY"/> | ||
|
||
<tns:FixedWeekday which="SECOND" weekday="MONDAY" month="OCTOBER" validFrom="2013" descriptionPropertiesKey="NATIONAL_HEROES_DAY"/> | ||
|
||
<tns:ChristianHoliday type="GOOD_FRIDAY" descriptionPropertiesKey="christian.GOOD_FRIDAY"/> | ||
<tns:ChristianHoliday type="EASTER_MONDAY" descriptionPropertiesKey="christian.EASTER_MONDAY"/> | ||
|
||
<tns:ChristianHoliday type="WHIT_MONDAY" descriptionPropertiesKey="christian.WHIT_MONDAY"/> | ||
</tns:Holidays> | ||
</tns:Configuration> |