Create a calendar having the same value as packedCalendar.
Declared in <bdlt_calendar.h>
explicit
Calendar(
bdlt::PackedCalendar const& packedCalendar,
bslma::Allocator* basicAllocator = 0);
Create a calendar having the same value as the specified packedCalendar. Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used.
| Name | Description |
|---|---|
| packedCalendar | packed calendar whose value is copied |
| basicAllocator | optional allocator used to supply memory |