[#BloombergLP-baltzo-ZoneinfoCache-2constructor] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/baltzo.adoc[baltzo]::xref:BloombergLP/baltzo/ZoneinfoCache.adoc[ZoneinfoCache]::ZoneinfoCache :relfileprefix: ../../../ :mrdocs: 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>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit ZoneinfoCache( xref:BloombergLP/baltzo/Loader.adoc[Loader]* loader, xref:BloombergLP/baltzo/ZoneinfoCache/allocator_type.adoc[allocator_type] const& allocator = allocator_type()); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#