quantlib.time.calendars.weekends_only.WeekendsOnly.is_holiday

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