quantlib.time.calendars.jointcalendar.JointCalendar.is_weekend

JointCalendar.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).