quantlib.time.calendars.canada.Canada.is_weekend

Canada.is_weekend(self, int week_day)

Returns True if the weekday is part of the weekend for the given market.

Parameters:
week_dayint

The weekday to check (e.g., quantlib.time.date.Monday).