BloombergLP::bdlt::Calendar::setValidRange

Set the range of this calendar using the specified firstDate and lastDate as, respectively, the first date and the last date of the calendar. Any holiday that is outside the new range and its holiday codes are removed. See {Iterator Invalidation} for information regarding which iterators are affected by the use of this method. The behavior is undefined unless firstDate <= lastDate.

Synopsis

Declared in <bdlt_calendar.h>

void
setValidRange(
    Date const& firstDate,
    Date const& lastDate);