calingen.contrib.providers.german_holidays.provider

The actual implementations of EventProvider.

The classes just collect the pre-defined holidays in their entries class attribute.

The pre-defined holidays use dateutil.rrule.rrule to define their recurrence. Most of Germany’s holidays are based off the Easter date, so rrule allows for easy definitions.

Module Contents

Classes

BadenWuerttemberg

Provides holidays of Baden-Wuerttemberg.

Bayern

Provides holidays of Bayern.

Berlin

Provides holidays of Berlin.

Brandenburg

Provides holidays of Brandenburg.

Bremen

Provides holidays of Bremen.

GermanyFederal

Provides federal holidays of Germany.

Hamburg

Provides holidays of Hamburg.

Hessen

Provides holidays of Hessen.

MecklenburgVorpommern

Provides holidays of Mecklenburg-Vorpommern.

Niedersachsen

Provides holidays of Niedersachsen.

NordrheinWestphalen

Provides holidays of Nordrhein-Westphalen.

RheinlandPfalz

Provides holidays of Rheinland-Pfalz.

Saarland

Provides holidays of Saarland.

Sachsen

Provides holidays of Sachsen.

SachsenAnhalt

Provides holidays of Sachsen-Anhalt.

SchleswigHolstein

Provides holidays of Schleswig-Holstein.

Thueringen

Provides holidays of Thueringen.

Attributes

ALLERHEILIGEN

All Hallows, November, 1st.

BUSS_UND_BETTAG

Day of Repetance, the last Wednesday of November.

CHRISTI_HIMMELFAHRT

Ascension, the Thursday 39 days after Easter.

ERSTER_WEIHNACHTSTAG

Christmas Day, December, 25th.

FEDERAL_HOLIDAYS

FRAUENTAG

Women's Day, March, 8th.

FRONLEICHNAM

Corpus Christi, the Thursday 60 days after Easter.

HEILIGE_DREI_KOENIGE

Epiphany, January, 6th.

KARFREITAG

Good Friday, the Friday before Easter.

MARIA_HIMMELFAHRT

Assumption of Mary, August, 15th.

NEUJAHR

New Year, January, 1st.

OSTER_MONTAG

Easter Monday, the Monday after Easter.

OSTER_SONNTAG

Easter Sunday.

PFINGST_MONTAG

Pentecost Monday, the Monday 50 days after Easter.

PFINGST_SONNTAG

Pentecost Sunday, the Sunday 49 days after Easter.

REFORMATIONSTAG

Reformation Day, October, 31st.

TAG_DER_ARBEIT

Worker's Day, May, 1st.

TAG_DER_DEUTSCHEN_EINHEIT

Day of German Unity, October, 3rd.

WELTKINDERTAG

Children's Day, September, 20th.

ZWEITER_WEIHNACHTSTAG

Boxing Day, December, 26th.

class calingen.contrib.providers.german_holidays.provider.BadenWuerttemberg

Bases: GermanyFederal

Provides holidays of Baden-Wuerttemberg.

entries
title
class calingen.contrib.providers.german_holidays.provider.Bayern

Bases: GermanyFederal

Provides holidays of Bayern.

entries
title
class calingen.contrib.providers.german_holidays.provider.Berlin

Bases: GermanyFederal

Provides holidays of Berlin.

entries
title
class calingen.contrib.providers.german_holidays.provider.Brandenburg

Bases: GermanyFederal

Provides holidays of Brandenburg.

entries
title
class calingen.contrib.providers.german_holidays.provider.Bremen

Bases: Brandenburg

Provides holidays of Bremen.

title
class calingen.contrib.providers.german_holidays.provider.GermanyFederal

Bases: calingen.interfaces.plugin_api.EventProvider

Provides federal holidays of Germany.

entries
title
class calingen.contrib.providers.german_holidays.provider.Hamburg

Bases: Brandenburg

Provides holidays of Hamburg.

title
class calingen.contrib.providers.german_holidays.provider.Hessen

Bases: GermanyFederal

Provides holidays of Hessen.

entries
title
class calingen.contrib.providers.german_holidays.provider.MecklenburgVorpommern

Bases: Brandenburg

Provides holidays of Mecklenburg-Vorpommern.

title
class calingen.contrib.providers.german_holidays.provider.Niedersachsen

Bases: Brandenburg

Provides holidays of Niedersachsen.

title
class calingen.contrib.providers.german_holidays.provider.NordrheinWestphalen

Bases: GermanyFederal

Provides holidays of Nordrhein-Westphalen.

entries
title
class calingen.contrib.providers.german_holidays.provider.RheinlandPfalz

Bases: NordrheinWestphalen

Provides holidays of Rheinland-Pfalz.

title
class calingen.contrib.providers.german_holidays.provider.Saarland

Bases: GermanyFederal

Provides holidays of Saarland.

entries
title
class calingen.contrib.providers.german_holidays.provider.Sachsen

Bases: GermanyFederal

Provides holidays of Sachsen.

entries
title
class calingen.contrib.providers.german_holidays.provider.SachsenAnhalt

Bases: GermanyFederal

Provides holidays of Sachsen-Anhalt.

entries
title
class calingen.contrib.providers.german_holidays.provider.SchleswigHolstein

Bases: Brandenburg

Provides holidays of Schleswig-Holstein.

title
class calingen.contrib.providers.german_holidays.provider.Thueringen

Bases: GermanyFederal

Provides holidays of Thueringen.

entries
title
calingen.contrib.providers.german_holidays.provider.ALLERHEILIGEN

All Hallows, November, 1st.

calingen.contrib.providers.german_holidays.provider.BUSS_UND_BETTAG

Day of Repetance, the last Wednesday of November.

calingen.contrib.providers.german_holidays.provider.CHRISTI_HIMMELFAHRT

Ascension, the Thursday 39 days after Easter.

Notes

This holiday is based off the Easter date, which shifts from year to year.

calingen.contrib.providers.german_holidays.provider.ERSTER_WEIHNACHTSTAG

Christmas Day, December, 25th.

calingen.contrib.providers.german_holidays.provider.FEDERAL_HOLIDAYS
calingen.contrib.providers.german_holidays.provider.FRAUENTAG

Women’s Day, March, 8th.

calingen.contrib.providers.german_holidays.provider.FRONLEICHNAM

Corpus Christi, the Thursday 60 days after Easter.

Notes

This holiday is based off the Easter date, which shifts from year to year.

calingen.contrib.providers.german_holidays.provider.HEILIGE_DREI_KOENIGE

Epiphany, January, 6th.

calingen.contrib.providers.german_holidays.provider.KARFREITAG

Good Friday, the Friday before Easter.

Notes

This holiday is based off the Easter date, which shifts from year to year.

calingen.contrib.providers.german_holidays.provider.MARIA_HIMMELFAHRT

Assumption of Mary, August, 15th.

calingen.contrib.providers.german_holidays.provider.NEUJAHR

New Year, January, 1st.

calingen.contrib.providers.german_holidays.provider.OSTER_MONTAG

Easter Monday, the Monday after Easter.

Notes

This holiday is based off the Easter date, which shifts from year to year.

calingen.contrib.providers.german_holidays.provider.OSTER_SONNTAG

Easter Sunday.

Notes

This holiday is based off the Easter date, which shifts from year to year.

calingen.contrib.providers.german_holidays.provider.PFINGST_MONTAG

Pentecost Monday, the Monday 50 days after Easter.

Notes

This holiday is based off the Easter date, which shifts from year to year.

calingen.contrib.providers.german_holidays.provider.PFINGST_SONNTAG

Pentecost Sunday, the Sunday 49 days after Easter.

Notes

This holiday is based off the Easter date, which shifts from year to year.

calingen.contrib.providers.german_holidays.provider.REFORMATIONSTAG

Reformation Day, October, 31st.

calingen.contrib.providers.german_holidays.provider.TAG_DER_ARBEIT

Worker’s Day, May, 1st.

calingen.contrib.providers.german_holidays.provider.TAG_DER_DEUTSCHEN_EINHEIT

Day of German Unity, October, 3rd.

calingen.contrib.providers.german_holidays.provider.WELTKINDERTAG

Children’s Day, September, 20th.

calingen.contrib.providers.german_holidays.provider.ZWEITER_WEIHNACHTSTAG

Boxing Day, December, 26th.