[#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‐modifiable access to the calendar having the specified `calendarName` in this calendar cache. If the calendar having `calendarName` is not found in the cache, or if the calendar has expired (i.e., per a timeout optionally supplied at construction), return an empty shared pointer. == Synopsis Declared in `<bdlt_calendarcache.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/shared_ptr-0a.adoc[bsl::shared_ptr<Calendar const>] lookupCalendar(char const* calendarName) const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#