quantlib.time.calendars.canada.Canada.adjust

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

Parameters:
given_dateDate

The date to adjust.

conventionint, optional

The business day convention to use.