BloombergLP::bdlt::PackedCalendar::isWeekendDay

Return true if dayOfWeek is a weekend day in this calendar.

Synopsis

Declared in <bdlt_packedcalendar.h>

bool
isWeekendDay(DayOfWeek::Enum dayOfWeek) const;

Description

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

Return Value

true if dayOfWeek is a weekend day, and false otherwise

Parameters

NameDescription
dayOfWeekday of the week to test