BloombergLP::bdlt::PackedCalendar::intersectNonBusinessDays

Merge the specified other calendar into this calendar such that the valid range of this calendar becomes the intersection of the two calendars' ranges, the weekend days for this calendar become the intersection of those days from the two calendars, and the holidays for this calendar become the set of days that are a holiday in one of the calendars and a non-business day in the other calendar -- i.e., the valid business days of this calendar become the union of those of the two original calendars over the intersection of their ranges. For each holiday that remains, the resulting holiday codes in this calendar will be the union of the corresponding original holiday codes. See {Iterator Invalidation} for information regarding which iterators are affected by the use of this method.

Synopsis

Declared in <bdlt_packedcalendar.h>

void
intersectNonBusinessDays(PackedCalendar const& other);