[#BloombergLP-bdlt-Calendar-2constructor-02]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/Calendar.adoc[Calendar]::Calendar
:relfileprefix: ../../../
:mrdocs:

Create a calendar having the same value as `packedCalendar`&period;

== Synopsis

Declared in `&lt;bdlt&lowbar;calendar&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
Calendar(
    xref:BloombergLP/bdlt/PackedCalendar.adoc[bdlt::PackedCalendar] const& packedCalendar,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0);
----

== Description

Create a calendar having the same value as the specified `packedCalendar`&period; Optionally specify a `basicAllocator` used to supply memory&period; If `basicAllocator` is 0, the currently installed default allocator is used&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *packedCalendar*
| packed calendar whose value is copied
| *basicAllocator*
| optional allocator used to supply memory
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
