[#BloombergLP-bdlt-Calendar-2constructor-07] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/Calendar.adoc[Calendar]::Calendar :relfileprefix: ../../../ :mrdocs: Constructors == Synopses 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. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit xref:BloombergLP/bdlt/Calendar/2constructor-0e.adoc[Calendar](xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#xref:BloombergLP/bdlt/Calendar/2constructor-0e.adoc[_» 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. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdlt/Calendar/2constructor-08.adoc[Calendar]( xref:BloombergLP/bdlt/Calendar.adoc[Calendar] const& original, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#xref:BloombergLP/bdlt/Calendar/2constructor-08.adoc[_» 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. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit xref:BloombergLP/bdlt/Calendar/2constructor-02.adoc[Calendar]( xref:BloombergLP/bdlt/PackedCalendar.adoc[bdlt::PackedCalendar] const& packedCalendar, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#xref:BloombergLP/bdlt/Calendar/2constructor-02.adoc[_» 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`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdlt/Calendar/2constructor-0a.adoc[Calendar]( xref:BloombergLP/bdlt/Date.adoc[Date] const& firstDate, xref:BloombergLP/bdlt/Date.adoc[Date] const& lastDate, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#xref:BloombergLP/bdlt/Calendar/2constructor-0a.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#