Constructors
Declared in <bdlt_calendar.h>
Create an empty calendar with an empty valid range.
explicit
Calendar(bslma::Allocator* basicAllocator = 0);
» more...
Create a calendar having the value of the specified original.
Calendar(
Calendar const& original,
bslma::Allocator* basicAllocator = 0);
» more...
Create a calendar having the same value as packedCalendar.
explicit
Calendar(
bdlt::PackedCalendar const& packedCalendar,
bslma::Allocator* basicAllocator = 0);
» more...
Create a calendar with the specified valid date range.
Calendar(
Date const& firstDate,
Date const& lastDate,
bslma::Allocator* basicAllocator = 0);
» more...
| Name | Description |
|---|---|
| basicAllocator | optional allocator used to supply memory |
| original | calendar whose value is copied |
| packedCalendar | packed calendar whose value is copied |
| firstDate | earliest date in the valid range |
| lastDate | latest date in the valid range |