BloombergLP::bdlt::Calendar::Calendar

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.

Synopsis

Declared in <bdlt_calendar.h>

Calendar(
    Date const& firstDate,
    Date const& lastDate,
    bslma::Allocator* basicAllocator = 0);