quantlib.time.calendars.canada.Canada.is_holiday

Canada.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.