[#BloombergLP-baltzo-TimeZoneUtilImp-loadLocalTimePeriodForUtc] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/baltzo.adoc[baltzo]::xref:BloombergLP/baltzo/TimeZoneUtilImp.adoc[TimeZoneUtilImp]::loadLocalTimePeriodForUtc :relfileprefix: ../../../ :mrdocs: Load, into the specified `result`, attributes characterizing local time at the specified `utcTime` in the time zone indicated by the specified `timeZoneId` (e.g., the offset from UTC, whether it is daylight‐saving time), as well as the time interval over which those attributes apply, using time zone information supplied by the specified `cache`. Return 0 on success, and a non‐zero value otherwise. A return status of `ErrorCode::k_UNSUPPORTED_ID` indicates that `timeZoneId` is not recognized. == Synopsis Declared in `<baltzo_timezoneutilimp.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int loadLocalTimePeriodForUtc( xref:BloombergLP/baltzo/LocalTimePeriod.adoc[LocalTimePeriod]* result, char const* timeZoneId, xref:BloombergLP/bdlt/Datetime.adoc[bdlt::Datetime] const& utcTime, xref:BloombergLP/baltzo/ZoneinfoCache.adoc[ZoneinfoCache]* cache); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#