public static function IsHoliday(Datum $day, Bundesland $bundesland) { $holidays = PublicHolidays::Holidays($day->Year(), $bundesland); foreach ($holidays as $holiday) { if ($holiday == $day) { return true; } } return false; }