quantlib.time.calendars.weekends_only.WeekendsOnly.adjust

WeekendsOnly.adjust(self, Date given_date, int convention=Following)

Adjusts a non-business day to the appropriate near business day with respect to the given convention.