BloombergLP::bdlt::PackedCalendar::PackedCalendar

Constructors

Synopses

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...

Parameters

NameDescription
basicAllocatoroptional allocator used to supply memory
originalcalendar whose value is copied
firstDateearliest date in the valid range
lastDatelatest date in the valid range