quantlib.time.calendars.weekends_only.WeekendsOnly.is_weekend¶
- WeekendsOnly.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).