Compare commits

...

5 Commits

Author SHA1 Message Date
Dianne Skoll
6e1dc7dcd7 Don't SET any variables in holiday files.
All checks were successful
Remind unit tests / tests (push) Successful in 31s
2024-11-03 13:19:11 -05:00
Dianne Skoll
bf193250cc Don't SET any variables in a holiday file. 2024-11-03 13:18:16 -05:00
Dianne Skoll
2c5eeb02f6 Merge branch 'holidays_de' into 'master'
Add German holidays

See merge request dskoll/remind!6
2024-11-03 17:54:47 +00:00
Jochen Sprickerhof
5cd343c27c Add German holidays 2024-11-03 18:42:08 +01:00
Dianne Skoll
81b48b70c4 Change include policy so regional files do not include the country file. 2024-11-03 11:28:31 -05:00
19 changed files with 83 additions and 27 deletions

View File

@@ -1,11 +1,13 @@
# Canadian Federal Holidays
# SPDX-License-Identifier: GPL-2.0-only
# You should probably NOT include this file directly! Instead, for
# all of the statutory holidays of the province you live in, use:
# INCLUDE [$SysInclude]/ca/XY.rem where XY is the two-letter
# abbreviation for yoru province. For example, if you live in
# Ontario, use: INCLUDE [$SysInclude]/ca/on.rem
# NOTE: This file ONLY includes Federal holidays that are observed throughout
# Canada. You should also include the appropriate file for the province
# or territory where you live to get all of the statutory holidays for
# that province. For example, if you live in Ontario, use:
#
# INCLUDE [$SysInclude]/ca.rem
# INCLUDE [$SysInclude]/ca/on.rem
OMIT 1 Jan MSG New Year's Day
OMIT 1 July MSG Canada Day

View File

@@ -1,7 +1,9 @@
# Alberta Holidays
# SPDX-License-Identifier: GPL-2.0-only
DO ../ca.rem
# NOTE: This file includes holidays only for Alberta.
# To get Federal holidays as well, INCLUDE [$SysInclude]/ca.rem
OMIT [easterdate($Uy) - 2] MSG Good Friday
REM Third Monday in Feb SCANFROM -7 ADDOMIT MSG Family Day
REM Mon 18 May SCANFROM -7 ADDOMIT MSG Victoria Day

View File

@@ -1,7 +1,9 @@
# British Columbia Holidays
# SPDX-License-Identifier: GPL-2.0-only
DO ../ca.rem
# NOTE: This file includes holidays only for British Columbia.
# To get Federal holidays as well, INCLUDE [$SysInclude]/ca.rem
OMIT [easterdate($Uy) - 2] MSG Good Friday
REM Third Monday in Feb SCANFROM -7 ADDOMIT MSG Family Day
REM Mon 18 May SCANFROM -7 ADDOMIT MSG Victoria Day

View File

@@ -1,7 +1,9 @@
# Manitoba Holidays
# SPDX-License-Identifier: GPL-2.0-only
DO ../ca.rem
# NOTE: This file includes holidays only for Manitoba.
# To get Federal holidays as well, INCLUDE [$SysInclude]/ca.rem
REM Third Monday in Feb SCANFROM -7 ADDOMIT MSG Louis Riel Day
OMIT [easterdate($Uy) - 2] MSG Good Friday
REM Mon 18 May SCANFROM -7 ADDOMIT MSG Victoria Day

View File

@@ -1,7 +1,9 @@
# New Brunswick Holidays
# SPDX-License-Identifier: GPL-2.0-only
DO ../ca.rem
# NOTE: This file includes holidays only for New Brunswick.
# To get Federal holidays as well, INCLUDE [$SysInclude]/ca.rem
REM Third Monday in Feb SCANFROM -7 ADDOMIT MSG Family Day
OMIT [easterdate($Uy) - 2] MSG Good Friday
REM First Monday in Aug SCANFROM -7 ADDOMIT MSG Civic Holiday

View File

@@ -1,7 +1,9 @@
# Newfoundland and Labrador Holidays
# SPDX-License-Identifier: GPL-2.0-only
DO ../ca.rem
# NOTE: This file includes holidays only for Newfoundland and Labrador.
# To get Federal holidays as well, INCLUDE [$SysInclude]/ca.rem
OMIT 17 March MSG St. Patrick's Day
OMIT [easterdate($Uy) - 2] MSG Good Friday
OMIT 23 April MSG St. George's Day

View File

@@ -1,7 +1,9 @@
# Nova Scotia Holidays
# SPDX-License-Identifier: GPL-2.0-only
DO ../ca.rem
# NOTE: This file includes holidays only for Nova Scotia.
# To get Federal holidays as well, INCLUDE [$SysInclude]/ca.rem
REM Third Monday in Feb SCANFROM -7 ADDOMIT MSG Heritage Day
OMIT [easterdate($Uy) - 2] MSG Good Friday
REM 11 November MSG Remembrance Day

View File

@@ -1,7 +1,9 @@
# Northwest Territories Holidays
# SPDX-License-Identifier: GPL-2.0-only
DO ../ca.rem
# NOTE: This file includes holidays only for the Northwest Territories.
# To get Federal holidays as well, INCLUDE [$SysInclude]/ca.rem
OMIT [easterdate($Uy) - 2] MSG Good Friday
REM Mon 18 May SCANFROM -7 ADDOMIT MSG Victoria Day
OMIT 21 June MSG National Aboriginal Day

View File

@@ -1,7 +1,9 @@
# Nunavut Holidays
# SPDX-License-Identifier: GPL-2.0-only
DO ../ca.rem
# NOTE: This file includes holidays only for Nunavut.
# To get Federal holidays as well, INCLUDE [$SysInclude]/ca.rem
OMIT [easterdate($Uy) - 2] MSG Good Friday
REM Mon 18 May SCANFROM -7 ADDOMIT MSG Victoria Day
OMIT 9 July MSG Nunavut Day

View File

@@ -1,7 +1,9 @@
# Ontario Holidays
# SPDX-License-Identifier: GPL-2.0-only
DO ../ca.rem
# NOTE: This file includes holidays only for Ontario.
# To get Federal holidays as well, INCLUDE [$SysInclude]/ca.rem
REM Third Monday in Feb SCANFROM -7 ADDOMIT MSG Family Day
OMIT [easterdate($Uy) - 2] MSG Good Friday
REM Mon 18 May SCANFROM -7 ADDOMIT MSG Victoria Day

View File

@@ -1,7 +1,9 @@
# Prince Edward Island Holidays
# SPDX-License-Identifier: GPL-2.0-only
DO ../ca.rem
# NOTE: This file includes holidays only for Prince Edward Island.
# To get Federal holidays as well, INCLUDE [$SysInclude]/ca.rem
OMIT [easterdate($Uy) - 2] MSG Good Friday
REM First Monday in Aug SCANFROM -7 ADDOMIT MSG Islander Day
OMIT 11 November MSG Remembrance Day

View File

@@ -1,7 +1,9 @@
# Quebec Holidays
# SPDX-License-Identifier: GPL-2.0-only
DO ../ca.rem
# NOTE: This file includes holidays only for Quebec.
# To get Federal holidays as well, INCLUDE [$SysInclude]/ca.rem
OMIT [easterdate($Uy) + 1] MSG Easter Monday
REM Mon 18 May SCANFROM -7 ADDOMIT MSG Victoria Day
OMIT 24 June MSG Fête Nationale

View File

@@ -1,7 +1,9 @@
# Saskatchewan Holidays
# SPDX-License-Identifier: GPL-2.0-only
DO ../ca.rem
# NOTE: This file includes holidays only for Saskatchewan.
# To get Federal holidays as well, INCLUDE [$SysInclude]/ca.rem
OMIT [easterdate($Uy) - 2] MSG Good Friday
REM Third Monday in Feb SCANFROM -7 ADDOMIT MSG Family Day
REM Mon 18 May SCANFROM -7 ADDOMIT MSG Victoria Day

View File

@@ -1,7 +1,9 @@
# Yukon Territory Holidays
# SPDX-License-Identifier: GPL-2.0-only
DO ../ca.rem
# NOTE: This file includes holidays only for Yukon Territory.
# To get Federal holidays as well, INCLUDE [$SysInclude]/ca.rem
REM Third Monday in Feb SCANFROM -7 ADDOMIT MSG Discovery Day
OMIT [easterdate($Uy) - 2] MSG Good Friday
REM Mon 18 May SCANFROM -7 ADDOMIT MSG Victoria Day

20
include/holidays/de.rem Normal file
View File

@@ -0,0 +1,20 @@
# German Federal Holidays
# SPDX-License-Identifier: GPL-2.0-only
# NOTE: This file ONLY includes Federal holidays that are observed throughout Germany.
# You should also include the appropriate file for the state where you live
# to get all of the statutory holidays.
# For example, if you live in Lower Saxony, use:
#
# INCLUDE [$SysInclude]/de.rem
# INCLUDE [$SysInclude]/de/ni.rem
OMIT Jan 1 MSG Neujahr
OMIT [easterdate($Uy)-2] MSG Karfreitag
OMIT [easterdate($Uy)+1] MSG Ostermontag
OMIT May 1 MSG Tag der Arbeit
OMIT [easterdate($Uy)+39] MSG Christi Himmelfahrt
OMIT [easterdate($Uy)+50] MSG Pfingstmontag
OMIT Oct 3 MSG Tag der deutschen Einheit
OMIT Dec 25 MSG 1. Weihnachtsfeiertag
OMIT Dec 26 MSG 2. Weihnachtsfeiertag

View File

@@ -0,0 +1,7 @@
# Bavarian Holidays
# SPDX-License-Identifier: GPL-2.0-only
OMIT Jan 6 MSG Heilige Drei Könige
OMIT [easterdate($Uy)+60] MSG Fronleichnam
OMIT Aug 15 MSG Mariä Himmelfahrt
OMIT Nov 1 MSG Allerheiligen (regional)

View File

@@ -0,0 +1,4 @@
# Lower Saxony Holidays
# SPDX-License-Identifier: GPL-2.0-only
OMIT Oct 31 MSG Tag Reformationstag

View File

@@ -5,14 +5,12 @@
# https://www.legifrance.gouv.fr/codes/section_lc/LEGITEXT000006072050/LEGISCTA000006178007/2016-08-10/
#
SET easter EASTERDATE($Uy)
REM Jan 1 MSG %"Jour de l'an%"
REM [easter+1] MSG %"Lundi de Pâques%"
REM [easterdate($Uy)+1] MSG %"Lundi de Pâques%"
REM May 1 MSG %"Fête du Travail%"
REM May 8 MSG %"Victoire des alliés%"
REM [easter+39] MSG %"Jeudi de l'Ascension%"
REM [easter+50] MSG %"Lundi de Pentecôte%"
REM [easterdate($Uy)+39] MSG %"Jeudi de l'Ascension%"
REM [easterdate($Uy)+50] MSG %"Lundi de Pentecôte%"
REM Jul 14 MSG %"Fête nationale%"
REM Aug 15 MSG %"Assomption%"
REM Nov 1 MSG %"La Toussaint%"

View File

@@ -31,10 +31,9 @@ REM Monday 1 August SCANFROM -7 ADDOMIT MSG August Public Holiday
REM Monday 1 -7 November SCANFROM -7 ADDOMIT MSG October Public Holiday
; Easter
SET easter easterdate(today())
REM [TRIGGER(easter-2)] MSG Good Friday (Aoine an Chéasta)
REM [TRIGGER(easter)] MSG Easter Sunday (Domhnach Cásca)
OMIT [TRIGGER(easter+1)] MSG Easter Monday (Luan Cásca) Public Holiday
REM [easterdate($Uy)-2] MSG Good Friday (Aoine an Chéasta)
REM [easterdate($Uy)] MSG Easter Sunday (Domhnach Cásca)
OMIT [easterdate($Uy)+1] MSG Easter Monday (Luan Cásca) Public Holiday
; St. Brigid's Day
REM 1 February MSG Saint Brigid's Day (Lá Fhéile Bríde or Imbolc)