Constructors
Declared in <bdlt_calendar.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
Calendar(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.
Calendar(
Calendar const& original,
bslma::Allocator* basicAllocator = 0);
» more...
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.
explicit
Calendar(
bdlt::PackedCalendar const& packedCalendar,
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.
Calendar(
Date const& firstDate,
Date const& lastDate,
bslma::Allocator* basicAllocator = 0);
» more...