Return a shared pointer to the calendar named calendarName.
Declared in <bdlt_calendarcache.h>
bsl::shared_ptr<Calendar const>
lookupCalendar(char const* calendarName) const;
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.
shared pointer to the calendar, or empty if not found/expired
| Name | Description |
|---|---|
| calendarName | name of the calendar to look up |