the method IsPublicHoliday in DenmarkPublicHoliday does find easter Holidays if they are in march
OscarItm opened this issue · comments
OscarItm commented
the method IsPublicHoliday in DenmarkPublicHoliday does find easter Holidays if they are in march
martinjw commented
Next March Easter is 2024. This test works. Do you have a specific date that fails?
var expected = new DateTime(2024, 3, 31);
var actual = DenmarkPublicHoliday.Easter(2024);
Assert.AreEqual(expected, actual);
Assert.IsTrue(new DenmarkPublicHoliday().IsPublicHoliday(expected));