Create an empty cache of time‐zone information that will use the specified loader to populate the cache, as‐needed, with time zone information. Optionally specify an allocator (e.g., the address of a bslma::Allocator object) to supply memory; otherwise, the default allocator is used. In order the populate the cache for a time zone identifier, loader must return a Zoneinfo object that is well‐formed (see ZoneinfoUtil::isWellFormed) and whose identifier matches the supplied time zone identifier.

Synopsis

Declared in <baltzo_zoneinfocache.h>

explicit
ZoneinfoCache(
    Loader* loader,
    allocator_type const& allocator = allocator_type());

Created with MrDocs