Add a weekend‐days transition on startDate with weekendDays.

Synopsis

Declared in <bdlt_calendar.h>

void
addWeekendDaysTransition(
    Date const& startDate,
    DayOfWeekSet const& weekendDays);

Description

Add to this calendar a weekend‐days transition on the specified startDate having the specified weekendDays set. If a weekend‐days transition already exists on startDate, replace the set of weekend days of that transition with weekendDays. See {Iterator Invalidation} for information regarding which iterators are affected by the use of this method. Note that this method does not extend the valid range of the calendar.

Parameters

Name

Description

startDate

date on which the weekend‐days transition begins

weekendDays

set of weekend days for the transition

Created with MrDocs