BloombergLP::bdlt::Calendar::Calendar

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

NameDescription
packedCalendarpacked calendar whose value is copied
basicAllocatoroptional allocator used to supply memory