[#BloombergLP-bdlt-PackedCalendar-removeHolidayCode]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/PackedCalendar.adoc[PackedCalendar]::removeHolidayCode
:relfileprefix: ../../../
:mrdocs:

Remove from this calendar the specified `holidayCode` for the holiday having the specified `date` if such a holiday having `holidayCode` exists&period; This operation has no effect if `date` is not a holiday in this calendar, or if the holiday at `date` does not have `holidayCode` associated with it&period; See &lcub;Iterator Invalidation&rcub; for information regarding which iterators are affected by the use of this method&period; 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&period;e&period;, having `0 &equals;&equals; length()`)&period;

== Synopsis

Declared in `&lt;bdlt&lowbar;packedcalendar&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
removeHolidayCode(
    xref:BloombergLP/bdlt/Date.adoc[Date] const& date,
    int holidayCode);
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
