[#BloombergLP-bdlt-Calendar-2constructor-0a] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/Calendar.adoc[Calendar]::Calendar :relfileprefix: ../../../ :mrdocs: 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>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- 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]#Created with https://www.mrdocs.com[MrDocs]#