Create a calendar with the specified valid date range.
Declared in <bdlt_calendar.h>
Calendar(
Date const& firstDate,
Date const& lastDate,
bslma::Allocator* basicAllocator = 0);
Create a calendar having a valid range from the specified firstDate through the specified lastDate. Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used. The behavior is undefined unless firstDate <= lastDate.
| Name | Description |
|---|---|
| firstDate | earliest date in the valid range |
| lastDate | latest date in the valid range |
| basicAllocator | optional allocator used to supply memory |