[#BloombergLP-baltzo-DefaultZoneinfoCache-defaultCache]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/baltzo.adoc[baltzo]::xref:BloombergLP/baltzo/DefaultZoneinfoCache.adoc[DefaultZoneinfoCache]::defaultCache
:relfileprefix: ../../../
:mrdocs:

Return the default `ZoneinfoCache` object for this process if the optionally specified `cache` is 0, and `cache` otherwise&period; If `cache` is 0, and the default Zoneinfo cache object has not been set &hyphen;&hyphen; either explicitly with a call to `setDefaultCache`, or implicitly through a prior call to this method &hyphen;&hyphen; then initialize a new `ZoneinfoCache` object, set the default cache object to the newly created object, and return its address&period;

== Synopsis

Declared in `&lt;baltzo&lowbar;defaultzoneinfocache&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/baltzo/ZoneinfoCache.adoc[ZoneinfoCache]*
defaultCache(xref:BloombergLP/baltzo/ZoneinfoCache.adoc[ZoneinfoCache]* cache = 0);
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
