[#BloombergLP-bdlt-CalendarCache-lookupCalendar]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/CalendarCache.adoc[CalendarCache]::lookupCalendar
:relfileprefix: ../../../
:mrdocs:

Return a shared pointer providing non&hyphen;modifiable access to the calendar having the specified `calendarName` in this calendar cache&period; If the calendar having `calendarName` is not found in the cache, or if the calendar has expired (i&period;e&period;, per a timeout optionally supplied at construction), return an empty shared pointer&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/shared_ptr-0a.adoc[bsl::shared&lowbar;ptr&lt;Calendar const&gt;]
lookupCalendar(char const* calendarName) const;
----


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