BloombergLP::bdlt::CalendarCache::lookupCalendar

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>

bsl::shared_ptr<Calendar const>
lookupCalendar(char const* calendarName) const;