[#BloombergLP-bdlt-PackedCalendar-addWeekendDay] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/PackedCalendar.adoc[PackedCalendar]::addWeekendDay :relfileprefix: ../../../ :mrdocs: Add `weekendDay` to the weekend days at the January 1, 0001 transition. == Synopsis Declared in `<bdlt_packedcalendar.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void addWeekendDay(xref:BloombergLP/bdlt/DayOfWeek/Enum.adoc[DayOfWeek::Enum] weekendDay); ---- == Description Add the specified `weekendDay` to the set of weekend days associated with the weekend‐days transition at January 1, 0001 maintained by this calendar. Create a transition at January 1, 0001 if one does not exist. See {Iterator Invalidation} for information regarding which iterators are affected by the use of this method. The behavior is undefined unless no weekend‐days transitions were added to this calendar via the `addWeekendDaysTransition` method. == Parameters [cols="1,4"] |=== | Name| Description | *weekendDay* | day of the week to treat as a weekend day |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#