BloombergLP::bdlt::DefaultCalendarCache::initialize

initialize overloads

Synopses

Declared in <bdlt_defaultcalendarcache.h>

Initialize the default calendar cache with no timeout.

static
int
initialize(
    CalendarLoader* loader,
    bslma::Allocator* allocator);
» more...

Initialize the default calendar cache with a timeout.

static
int
initialize(
    CalendarLoader* loader,
    bsls::TimeInterval const& timeout,
    bslma::Allocator* allocator);
» more...

Return Value

0 on success, and a non-zero value otherwise

Parameters

NameDescription
loadercalendar loader used to obtain calendars
allocatorallocator used to supply memory
timeoutinterval after which cached calendars expire