Create a calendar having the same value as packedCalendar.

Synopsis

Declared in <bdlt_calendar.h>

explicit
Calendar(
    bdlt::PackedCalendar const& packedCalendar,
    bslma::Allocator* basicAllocator = 0);

Description

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.

Parameters

Name

Description

packedCalendar

packed calendar whose value is copied

basicAllocator

optional allocator used to supply memory

Created with MrDocs