Remove the holiday at the specified date if it exists.

Synopsis

Declared in <bdlt_packedcalendar.h>

void
removeHoliday(Date const& date);

Description

Remove from this calendar the holiday having the specified date if such a holiday exists. This operation has no effect if date is not a holiday in this calendar. See {Iterator Invalidation} for information regarding which iterators are affected by the use of this method. Note that this method is defined for all date values, not just those that fall within the valid range, and may be invoked even on an empty calendar (i.e., having 0 == length()).

Parameters

Name

Description

date

holiday date to remove

Created with MrDocs