[#BloombergLP-bdlt-Calendar-addWeekendDaysTransition]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/Calendar.adoc[Calendar]::addWeekendDaysTransition
:relfileprefix: ../../../
:mrdocs:

Add a weekend&hyphen;days transition on `startDate` with `weekendDays`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
addWeekendDaysTransition(
    xref:BloombergLP/bdlt/Date.adoc[Date] const& startDate,
    xref:BloombergLP/bdlt/DayOfWeekSet.adoc[DayOfWeekSet] const& weekendDays);
----

== Description

Add to this calendar a weekend&hyphen;days transition on the specified `startDate` having the specified `weekendDays` set&period; If a weekend&hyphen;days transition already exists on `startDate`, replace the set of weekend days of that transition with `weekendDays`&period; See &lcub;Iterator Invalidation&rcub; for information regarding which iterators are affected by the use of this method&period; Note that this method does not extend the valid range of the calendar&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *startDate*
| date on which the weekend&hyphen;days transition begins
| *weekendDays*
| set of weekend days for the transition
|===


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