quantlib.time.calendars.null_calendar.NullCalendar.advance¶
- NullCalendar.advance(self, Date given_date, int step=0, int units=-1, Period period=None, int convention=Following, end_of_month=False)¶
Advances the given date by the given number of business days or period.
- Parameters:
- given_date
Date The date to advance.
- stepint, optional
The number of steps to advance.
- unitsint, optional
The time unit for the step.
- period
Period, optional The period to advance the date by.
- conventionint, optional
The business day convention to use.
- end_of_monthbool, optional
Whether to preserve the end-of-month status.
- given_date