Return true if date falls on a weekend day in this calendar.
Synopsis
Declared in <bdlt_packedcalendar.h>
bool
isWeekendDay(Date const& date) const;
Description
Return true if the specified date falls on a day of the week that is considered a weekend day in this calendar, and false otherwise. Note that this method is defined for all date values, not just those that fall within the valid range, and may be invoked even on an empty calendar (i.e., having 0 == length()).
Return Value
true if date falls on a weekend day, and false otherwise
Parameters
Name |
Description |
date |
date to test |
Created with MrDocs