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.
Zoneinfo const*
getZoneinfo(char const* timeZoneId);
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.
Zoneinfo const*
getZoneinfo(
int* rc,
char const* timeZoneId);
Created with MrDocs