Return the default Zoneinfo cache, or cache if non-null.
Declared in <baltzo_defaultzoneinfocache.h>
static
ZoneinfoCache*
defaultCache(ZoneinfoCache* cache = 0);
Return the default ZoneinfoCache object for this process if the optionally specified cache is 0, and cache otherwise. If cache is 0, and the default Zoneinfo cache object has not been set -- either explicitly with a call to setDefaultCache, or implicitly through a prior call to this method -- then initialize a new ZoneinfoCache object, set the default cache object to the newly created object, and return its address.
cache if non-null; otherwise the process default cache
| Name | Description |
|---|---|
| cache | optional cache to return instead of the default |