Return the weekend-days transition at the specified index.
Declared in <bdlt_calendar.h>
Calendar::WeekendDaysTransition
weekendDaysTransition(int index) const;
Return the weekend-days transition at the specified index in this calendar. For all index values from 0 to numWeekendDaysTransitions() - 1 (inclusive), a unique weekend-days transition is returned. The mapping of index to weekend-days transition is invalidated when the set of weekend-days transitions is modified by an invocation of addWeekendDay, addWeekendDays, addWeekendDaysTransition, intersectBusinessDays, intersectNonBusinessDays, removeAll, unionBusinessDays, or unionNonBusinessDays. The behavior is undefined unless 0 <= index < numWeekendDaysTransitions().
the weekend-days transition at index
| Name | Description |
|---|---|
| index | position of the transition in chronological order |