Add weekendDays to the weekend days at the January 1, 0001 transition.
Synopsis
Declared in <bdlt_calendar.h>
void
addWeekendDays(DayOfWeekSet const& weekendDays);
Description
Add the specified weekendDays to the set of weekend days associated with the weekend‐days transition at January 1, 0001 maintained by this calendar. Create a transition at January 1, 0001 if one does not exist. See {Iterator Invalidation} for information regarding which iterators are affected by the use of this method. The behavior is undefined unless no weekend‐days transitions were added to this calendar via the addWeekendDaysTransition method.
Parameters
Name |
Description |
weekendDays |
set of days of the week to treat as weekend days |
Created with MrDocs