Constructors
Declared in <bdlt_packedcalendar.h>
Create an empty calendar with an empty valid range.
explicit
PackedCalendar(bslma::Allocator* basicAllocator = 0);
» more...
Create a calendar having the value of the specified original.
PackedCalendar(
PackedCalendar const& original,
bslma::Allocator* basicAllocator = 0);
» more...
Create a calendar with the specified valid date range.
PackedCalendar(
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 |
| firstDate | earliest date in the valid range |
| lastDate | latest date in the valid range |