Return true if date is within the valid range of this calendar.
Synopsis
Declared in <bdlt_calendar.h>
bool
isInRange(Date const& date) const;
Description
Return true if the specified date is within the valid range of this calendar (i.e., firstDate() <= date <= lastDate()), and false otherwise. Note that the valid range for a Calendar is empty if its length is 0.
Return Value
true if date is within the valid range, and false otherwise
Parameters
Name |
Description |
date |
date to test |
Created with MrDocs