bank-holiday-germany

German bank holidays and public holidays

https://github.com/schoettl/bank-holiday-germany#readme

Version on this page:1.2.0.0
Stackage Nightly 2024-04-27:1.3.0.0@rev:1
Latest on Hackage:1.3.0.0@rev:1

See all snapshots bank-holiday-germany appears in

MIT licensed by Jakob Schöttl
Maintained by [email protected]
This version can be pinned in stack with:bank-holiday-germany-1.2.0.0@sha256:9bdcab96f31eb21c8e7228bfd337343d79b933388a9110a540a3530feab02627,2410

Module documentation for 1.2.0.0

Depends on 2 packages(full list with versions):

bank-holiday-germany

See below for a German version.

This package provides calculation of bank holidays and public holidays in Germany.

Most of these bank holidays are also public aka legal holidays throughout Germany. You can use isPublicHoliday to check if a holiday is also a legal holiday.

Legal holidays are generally off for all employees. Bank holidays that are not legal holidays as well are generally only off for bank employees.

There are even more public holidays in each federal state which are (partly) covered by the ExtraHolidays module of this package.

See the module documentation on Hackage for more information.


Dieses Modul behandelt deutsche Bankfeiertage und gesetzliche Feiertage.

Bis auf Heilig Abend und Silvester sind alle Bankfeiertage gleichzeitig gesetzliche Feiertage in allen Bundesländern der Bundesrepublik Deutschland. Die Funktion isPublicHoliday prüft ob ein Bankfeiertag auch ein gesetzlicher Feiertag ist.

Gesetzliche Feiertage sind Ländersache – abgesehen vom Nationalfeiertag Tag der deutschen Einheit.

Bankfeiertage sind in der Regel für Bankangestellte frei. Gesetzliche Feiertage sind in der Regel für alle Angestellten frei (im Bundesland für das sie gelten).

Gesetzliche Feiertage der Bundesländer, die nicht gleichzeitig Bankfeiertage sind, sind im Modul ExtraHolidays definiert.

Vorsicht: Manche gesetzliche Feiertage gelten nicht für das ganze Bundesland sondern nur für bestimmte Landkreise, z.B. das Friedensfest in Augsburg.

Ein Code-Beispiel im Modul ExtraHolidays zeigt, wie alle Feiertage für ein bestimmtes Bundesland berechnet werden können.

Changes

Changelog for bank-holiday-germany

The format is based on Keep a Changelog, and this project adheres to the Haskell Package Versioning Policy.

[1.0.0.0] - 2024-03-14

Initial release

[1.0.0.1] - 2024-03-14

Added

  • Added version bounds of dependencies

[1.0.0.2] - 2024-03-18

Added

  • Add module ExtraHolidays for additional public holidays
  • Export dayToYear helper function since it is also used by the new module
  • Add tests
  • Enhance docs

[1.1.0.0] - 2024-03-19

Added

  • Add ExtraHoliday for Bundesland Berlin
  • Add and enhance docs