Skip to content

Commit

Permalink
Removed Whit Monday and Day of German Unity holidays in 2022.
Browse files Browse the repository at this point in the history
  • Loading branch information
philtromans authored and maread99 committed Jun 22, 2022
1 parent 55cec97 commit c6f9dea
Show file tree
Hide file tree
Showing 3 changed files with 944 additions and 5 deletions.
12 changes: 7 additions & 5 deletions exchange_calendars/exchange_calendar_xetr.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,12 @@
# starting in 2015.
WhitMonday2007AdHoc = Timestamp("2007-05-28")

WhitMonday = whit_monday(start_date="2015-01-01")
# Whit Monday and the Day of German Unity have been observed regularly, but in 2022 regular trading took place instead.
# It's unclear if it will be observed in 2023.
WhitMondayUntil2022 = whit_monday(start_date="2015-01-01", end_date="2022-01-01")

DayOfGermanUnity = Holiday(
"Day of German Unity", month=10, day=3, start_date="2014-01-01"
DayOfGermanUnityUntil2022 = Holiday(
"Day of German Unity", month=10, day=3, start_date="2014-01-01", end_date="2022-01-01"
)

# Reformation Day was a German national holiday in 2017.
Expand Down Expand Up @@ -111,8 +113,8 @@ def regular_holidays(self):
GoodFriday,
EasterMonday,
EuropeanLabourDay,
WhitMonday,
DayOfGermanUnity,
WhitMondayUntil2022,
DayOfGermanUnityUntil2022,
ChristmasEve,
Christmas,
BoxingDay,
Expand Down
Loading

0 comments on commit c6f9dea

Please sign in to comment.