BloombergLP::bdlt::CalendarCache_Entry::CalendarCache_Entry

Create a cache entry for managing the specified calendar.

Synopsis

Declared in <bdlt_calendarcache.h>

CalendarCache_Entry(
    Calendar* calendar,
    Datetime const& loadTime,
    bslma::Allocator* allocator);

Description

Create a cache entry object for managing the specified calendar that was loaded at the specified loadTime using the specified allocator. The behavior is undefined unless calendar uses allocator to obtain memory.

Parameters

NameDescription
calendarcalendar managed by this entry
loadTimetime when the calendar was loaded
allocatorallocator used by calendar