diff --git a/src/Countries/Switzerland.php b/src/Countries/Switzerland.php new file mode 100644 index 00000000..38c0d62b --- /dev/null +++ b/src/Countries/Switzerland.php @@ -0,0 +1,37 @@ + '01-01', + 'Berchtoldstag' => '01-02', + 'Bundesfeier' => '08-01', + 'Weihnachtstag' => '12-25', + 'Stephanstag' => '12-26', + ], $this->variableHolidays($year)); + } + + /** @return array */ + protected function variableHolidays(int $year): array + { + $easter = $this->easter($year); + + return [ + 'Karfreitag' => $easter->subDays(2), + 'Ostermontag' => $easter->addDay(), + 'Auffahrt' => $easter->addDays(39), + 'Pfingstmontag' => $easter->addDays(50), + ]; + } +}