@@ -29,28 +29,9 @@ class Germany(HolidayBase, ChristianHolidays, InternationalHolidays, StaticHolid
2929 doesn't really make sense to include the days from the two former
3030 countries.
3131
32- Note that Germany doesn't have rules for holidays that happen on a
33- Sunday. Those holidays are still holiday days but there is no additional
34- day to make up for the "lost" day.
35-
36- Also note that German holidays are partly declared by each province there
37- are some weired edge cases:
38-
39- - "Mariä Himmelfahrt" is only a holiday in Bavaria (BY) if your
40- municipality is mostly catholic which in term depends on census data.
41- Since we don't have this data but most municipalities in Bavaria
42- *are* mostly catholic, we count that as holiday for whole Bavaria.
43- We added BYP for the municipality in Bavaria with more protestants.
44- Here this is excluded.
45- - There is an "Augsburger Friedensfest" which only exists in the town
46- Augsburg. This is excluded for Bavaria.
47- - "Gründonnerstag" (Thursday before easter) is not a holiday but pupils
48- don't have to go to school (but only in Baden Württemberg) which is
49- solved by adjusting school holidays to include this day. It is
50- excluded from our list.
51- - "Fronleichnam" is a holiday in certain, explicitly defined
52- municipalities in Saxony (SN) and Thuringia (TH). We exclude it from
53- both provinces.
32+ "Mariä Himmelfahrt" is only a holiday in Bavaria (BY) and "Fronleichnam"
33+ in Saxony (SN) and Thuringia (TH) if municipality is mostly catholic which
34+ in term depends on census data. It's listed in "CATHOLIC" category for these provinces.
5435 """
5536
5637 country = "DE"
@@ -229,6 +210,10 @@ def _populate_subdiv_sn_public_holidays(self):
229210 if self ._year >= 1995 :
230211 self ._add_holiday_1st_wed_before_nov_22 (tr ("Buß- und Bettag" ))
231212
213+ def _populate_subdiv_sn_catholic_holidays (self ):
214+ if self ._year >= 1991 :
215+ self ._add_corpus_christi_day (tr ("Fronleichnam" ))
216+
232217 def _populate_subdiv_st_public_holidays (self ):
233218 if self ._year >= 1991 :
234219 self ._add_epiphany_day (tr ("Heilige Drei Könige" ))
@@ -242,6 +227,10 @@ def _populate_subdiv_th_public_holidays(self):
242227
243228 self ._add_holiday_oct_31 (tr ("Reformationstag" ))
244229
230+ def _populate_subdiv_th_catholic_holidays (self ):
231+ if self ._year >= 1991 :
232+ self ._add_corpus_christi_day (tr ("Fronleichnam" ))
233+
245234
246235class DE (Germany ):
247236 pass
0 commit comments