quantlib.time.calendars.united_states.UnitedStates.is_weekend¶
- UnitedStates.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).