BloombergLP::bdlt::CalendarCache::lookupLoadTime

Return the UTC datetime when the named calendar was loaded.

Synopsis

Declared in <bdlt_calendarcache.h>

Datetime
lookupLoadTime(char const* calendarName) const;

Description

Return the datetime, in Coordinated Universal Time (UTC), at which the calendar having the specified calendarName was loaded into 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 Datetime().

Return Value

UTC load time, or a default Datetime if missing/expired

Parameters

NameDescription
calendarNamename of the calendar to look up