var date = new DateTime(2018, 01, 01); if (DateSystem.IsPublicHoliday(date, CountryCode.DE)) { //Yes - New Year's Day }