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

Return the weekend&hyphen;days transition at the specified `index`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdlt/Calendar/WeekendDaysTransition-0b.adoc[Calendar::WeekendDaysTransition]
weekendDaysTransition(int index) const;
----

== Description

Return the weekend&hyphen;days transition at the specified `index` in this calendar&period; For all `index` values from 0 to `numWeekendDaysTransitions() &hyphen; 1` (inclusive), a unique weekend&hyphen;days transition is returned&period; The mapping of `index` to weekend&hyphen;days transition is invalidated when the set of weekend&hyphen;days transitions is modified by an invocation of `addWeekendDay`, `addWeekendDays`, `addWeekendDaysTransition`, `intersectBusinessDays`, `intersectNonBusinessDays`, `removeAll`, `unionBusinessDays`, or `unionNonBusinessDays`&period; The behavior is undefined unless `0 &lt;&equals; index &lt; numWeekendDaysTransitions()`&period;

== Return Value

the weekend&hyphen;days transition at `index`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *index*
| position of the transition in chronological order
|===


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