Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the method IsPublicHoliday in DenmarkPublicHoliday does find easter Holidays if they are in march #91

Closed
OscarItm opened this issue Mar 22, 2023 · 1 comment

Comments

@OscarItm
Copy link

No description provided.

@martinjw
Copy link
Owner

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));

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants