Skip to content

Commit

Permalink
Added Friedensfest
Browse files Browse the repository at this point in the history
  • Loading branch information
danilobuerger committed Jul 18, 2024
1 parent d7ae04e commit 3b7a669
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
10 changes: 10 additions & 0 deletions v2/de/de_holidays.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,16 @@ var (
// Fronleichnam represents Corpus Christi on the 60th day after Easter
Fronleichnam = aa.CorpusChristi.Clone(&cal.Holiday{Name: "Fronleichnam", Type: cal.ObservancePublic})

// Friedensfest represents the Augsburger Hohes Friedensfest on 8-Aug
Friedensfest = &cal.Holiday{
Name: "Friedensfest",
Type: cal.ObservancePublic,
Month: time.August,
Day: 8,
Func: cal.CalcDayOfMonth,
StartYear: 1950,
}

// MariaHimmelfahrt represents Assumption of Mary on 15-Aug
MariaHimmelfahrt = aa.AssumptionOfMary.Clone(&cal.Holiday{Name: "Mariä Himmelfahrt", Type: cal.ObservancePublic})

Expand Down
2 changes: 2 additions & 0 deletions v2/de/de_holidays_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,8 @@ func TestHolidays(t *testing.T) {
{ZweiterWeihnachtsfeiertag, 2020, d(2020, 12, 26), d(2020, 12, 26)},
{ZweiterWeihnachtsfeiertag, 2021, d(2021, 12, 26), d(2021, 12, 26)},
{ZweiterWeihnachtsfeiertag, 2022, d(2022, 12, 26), d(2022, 12, 26)},

{Friedensfest, 2024, d(2024, 8, 8), d(2024, 8, 8)},
}

for _, test := range tests {
Expand Down

0 comments on commit 3b7a669

Please sign in to comment.