BloombergLP::bdlt::PackedCalendar::PackedCalendar

Constructors

Synopses

Declared in <bdlt_packedcalendar.h>

Create an empty calendar, i.e., a calendar having an empty valid range. Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used.

explicit
PackedCalendar(bslma::Allocator* basicAllocator = 0);
» more...

Create a calendar having the value of the specified original calendar. Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used.

PackedCalendar(
    PackedCalendar const& original,
    bslma::Allocator* basicAllocator = 0);
» more...

Create a calendar having a valid range from the specified firstDate through the specified lastDate. Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used. The behavior is undefined unless firstDate <= lastDate.

PackedCalendar(
    Date const& firstDate,
    Date const& lastDate,
    bslma::Allocator* basicAllocator = 0);
» more...