Constructors

Synopses

Declared in <bdlt_calendarcache.h>

Create an empty calendar cache with no timeout.

explicit
CalendarCache(
    CalendarLoader* loader,
    bslma::Allocator* basicAllocator = 0);

Create a calendar cache with the specified loader and timeout.

CalendarCache(
    CalendarLoader* loader,
    bsls::TimeInterval const& timeout,
    bslma::Allocator* basicAllocator = 0);

Parameters

Name

Description

loader

calendar loader used on demand

basicAllocator

allocator used to supply memory

timeout

interval after which cached calendars expire

Created with MrDocs