quantlib.time.calendar.Calendar.is_holiday

Calendar.is_holiday(self, Date test_date)

Returns True if the date is a holiday for the given market.

Parameters:
test_dateDate

The date to check.