diff --git a/jollyday-core/src/main/resources/holidays/Holidays_ch.xml b/jollyday-core/src/main/resources/holidays/Holidays_ch.xml index dbbc9ac70..08bbb7da1 100644 --- a/jollyday-core/src/main/resources/holidays/Holidays_ch.xml +++ b/jollyday-core/src/main/resources/holidays/Holidays_ch.xml @@ -279,6 +279,7 @@ + @@ -289,7 +290,6 @@ - diff --git a/jollyday-tests/src/test/java/de/focus_shift/jollyday/tests/country/HolidayCHTest.java b/jollyday-tests/src/test/java/de/focus_shift/jollyday/tests/country/HolidayCHTest.java index ef6572f09..49bdb7223 100644 --- a/jollyday-tests/src/test/java/de/focus_shift/jollyday/tests/country/HolidayCHTest.java +++ b/jollyday-tests/src/test/java/de/focus_shift/jollyday/tests/country/HolidayCHTest.java @@ -8,6 +8,7 @@ import static java.time.Month.AUGUST; import static java.time.Month.DECEMBER; import static java.time.Month.JANUARY; +import static java.time.Month.MARCH; import static java.time.Month.NOVEMBER; @@ -23,32 +24,28 @@ void ensuresHolidays() { .hasChristianHoliday("EASTER").and() /* Aargau */ - .hasFixedHoliday("ST_BERCHTHOLD", JANUARY, 2) - .inSubdivision("ag") - .and() - .hasFixedHoliday("ASSUMPTION_DAY", AUGUST, 15) - .inSubdivision("ag") - .and() - .hasFixedHoliday("ALL_SAINTS", NOVEMBER, 1) - .inSubdivision("ag") - .and() - .hasFixedHoliday("STEPHENS", DECEMBER, 26) - .inSubdivision("ag") - .and() - .hasFixedHoliday("IMMACULATE_CONCEPTION", DECEMBER, 8) - .inSubdivision("ag") - .and() - .hasChristianHoliday("GOOD_FRIDAY") - .inSubdivision("ag") - .and() - .hasChristianHoliday("EASTER_MONDAY") - .inSubdivision("ag") - .and() - .hasChristianHoliday("WHIT_MONDAY") - .inSubdivision("ag") - .and() - .hasChristianHoliday("CORPUS_CHRISTI") - .inSubdivision("ag") + .hasFixedHoliday("ST_BERCHTHOLD", JANUARY, 2).inSubdivision("ag").and() + .hasFixedHoliday("ASSUMPTION_DAY", AUGUST, 15).inSubdivision("ag").and() + .hasFixedHoliday("ALL_SAINTS", NOVEMBER, 1).inSubdivision("ag").and() + .hasFixedHoliday("STEPHENS", DECEMBER, 26).inSubdivision("ag").and() + .hasFixedHoliday("IMMACULATE_CONCEPTION", DECEMBER, 8).inSubdivision("ag").and() + .hasChristianHoliday("GOOD_FRIDAY").inSubdivision("ag").and() + .hasChristianHoliday("EASTER_MONDAY").inSubdivision("ag").and() + .hasChristianHoliday("WHIT_MONDAY").inSubdivision("ag").and() + .hasChristianHoliday("CORPUS_CHRISTI").inSubdivision("ag").and() + + /* Vaud */ + .hasFixedHoliday("ST_BERCHTHOLD", JANUARY, 2).inSubdivision("vd").and() + .hasChristianHoliday("GOOD_FRIDAY").inSubdivision("vd").and() + .hasChristianHoliday("EASTER_MONDAY").inSubdivision("vd").and() + .hasChristianHoliday("WHIT_MONDAY").inSubdivision("vd").and() + + /* Valais */ + .hasFixedHoliday("ST_JOSEPH", MARCH, 19).inSubdivision("vs").and() + .hasFixedHoliday("ASSUMPTION_DAY", AUGUST, 15).inSubdivision("vs").and() + .hasFixedHoliday("ALL_SAINTS", NOVEMBER, 1).inSubdivision("vs").and() + .hasFixedHoliday("IMMACULATE_CONCEPTION", DECEMBER, 8).inSubdivision("vs").and() + .hasChristianHoliday("CORPUS_CHRISTI").inSubdivision("vs") .check(); }