[#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 `&lt;baltzo&lowbar;zoneinfocache&period;h&gt;`

Return the address of the non&hyphen;modifiable `Zoneinfo` object describing the time zone identified by the specified `timeZoneId`, or 0 if the operation does not succeed&period; If the information for `timeZoneId` has not been previously cached, then attempt to populate this object using the `loader` supplied at construction&period; Optionally specify the address of an integer, `rc`, in which to load the return code for this operation&period; If `rc` is specified, load 0 into `rc` if the operation succeeds, `ErrorCode&colon;&colon;k&lowbar;UNSUPPORTED&lowbar;ID` if the time&hyphen;zone identifier is not supported, and a negative value if the operation does not succeed for any other reason&period; If the returned address is non&hyphen;zero, the Zoneinfo object returned is guaranteed to be well&hyphen;formed (i&period;e&period;, `ZoneinfoUtil&colon;&colon;isWellFormed` will return `true` if called with the returned value), and remain valid for the lifetime of this object&period; The behavior is undefined if `rc` is 0&period;


[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&period;&period;&period;_]#

Return the address of the non&hyphen;modifiable `Zoneinfo` object describing the time zone identified by the specified `timeZoneId`, or 0 if the operation does not succeed&period; Optionally load the return code for this operation into the specified `rc`&period;


[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&period;&period;&period;_]#


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