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

Return `true` if `dayOfWeek` is a weekend day in this calendar&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
isWeekendDay(xref:BloombergLP/bdlt/DayOfWeek/Enum.adoc[DayOfWeek::Enum] dayOfWeek) const;
----

== Description

Return `true` if the specified `dayOfWeek` is a weekend day in this calendar, and `false` otherwise&period; The behavior is undefined unless no weekend&hyphen;days transitions were added to this calendar via the `addWeekendDaysTransition` method&period;

== Return Value

`true` if `dayOfWeek` is a weekend day, and `false` otherwise

== Parameters

[cols="1,4"]
|===
| Name| Description
| *dayOfWeek*
| day of the week to test
|===


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