[#BloombergLP-bdlt-CalendarCache-2constructor-0f]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/CalendarCache.adoc[CalendarCache]::CalendarCache
:relfileprefix: ../../../
:mrdocs:

Constructors

== Synopses

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

Create an empty calendar cache with no timeout&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:BloombergLP/bdlt/CalendarCache/2constructor-05.adoc[CalendarCache](
    xref:BloombergLP/bdlt/CalendarLoader.adoc[CalendarLoader]* loader,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0);
----

[.small]#xref:BloombergLP/bdlt/CalendarCache/2constructor-05.adoc[_» more&period;&period;&period;_]#

Create a calendar cache with the specified loader and timeout&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdlt/CalendarCache/2constructor-07.adoc[CalendarCache](
    xref:BloombergLP/bdlt/CalendarLoader.adoc[CalendarLoader]* loader,
    xref:BloombergLP/bsls/TimeInterval.adoc[bsls::TimeInterval] const& timeout,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0);
----

[.small]#xref:BloombergLP/bdlt/CalendarCache/2constructor-07.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *loader*
| calendar loader used on demand
| *basicAllocator*
| allocator used to supply memory
| *timeout*
| interval after which cached calendars expire
|===


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