[#BloombergLP-baltzo-ZoneinfoCache-getZoneinfo-0c] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/baltzo.adoc[baltzo]::xref:BloombergLP/baltzo/ZoneinfoCache.adoc[ZoneinfoCache]::getZoneinfo :relfileprefix: ../../../ :mrdocs: `getZoneinfo` overloads == Synopses Declared in `<baltzo_zoneinfocache.h>` Return the address of the non‐modifiable `Zoneinfo` object describing the time zone identified by the specified `timeZoneId`, or 0 if the operation does not succeed. If the information for `timeZoneId` has not been previously cached, then attempt to populate this object using the `loader` supplied at construction. Optionally specify the address of an integer, `rc`, in which to load the return code for this operation. If `rc` is specified, load 0 into `rc` if the operation succeeds, `ErrorCode::k_UNSUPPORTED_ID` if the time‐zone identifier is not supported, and a negative value if the operation does not succeed for any other reason. If the returned address is non‐zero, the Zoneinfo object returned is guaranteed to be well‐formed (i.e., `ZoneinfoUtil::isWellFormed` will return `true` if called with the returned value), and remain valid for the lifetime of this object. The behavior is undefined if `rc` is 0. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/baltzo/Zoneinfo.adoc[Zoneinfo] const* xref:BloombergLP/baltzo/ZoneinfoCache/getZoneinfo-00.adoc[getZoneinfo](char const* timeZoneId); ---- [.small]#xref:BloombergLP/baltzo/ZoneinfoCache/getZoneinfo-00.adoc[_» more..._]# Return the address of the non‐modifiable `Zoneinfo` object describing the time zone identified by the specified `timeZoneId`, or 0 if the operation does not succeed. Optionally load the return code for this operation into the specified `rc`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/baltzo/Zoneinfo.adoc[Zoneinfo] const* xref:BloombergLP/baltzo/ZoneinfoCache/getZoneinfo-05.adoc[getZoneinfo]( int* rc, char const* timeZoneId); ---- [.small]#xref:BloombergLP/baltzo/ZoneinfoCache/getZoneinfo-05.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#