[#BloombergLP-baltzo-TimeZoneUtil-loadLocalTimePeriod-05]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/baltzo.adoc[baltzo]::xref:BloombergLP/baltzo/TimeZoneUtil.adoc[TimeZoneUtil]::loadLocalTimePeriod
:relfileprefix: ../../../
:mrdocs:

`loadLocalTimePeriod` overloads

== Synopses

Declared in `&lt;baltzo&lowbar;timezoneutil&period;h&gt;`

Load, into the specified `result`, attributes characterizing the specified `localTime` (i&period;e&period;, the offset from UTC, whether daylight&hyphen;saving time is in effect and the description of the time zone), as well as the time interval over which those attributes apply&period; Return 0 on success, and a non&hyphen;zero value with no effect otherwise&period; A return value of `ErrorCode&colon;&colon;k&lowbar;UNSUPPORTED&lowbar;ID` indicates that `localTime&period;timeZoneId()` was not recognized&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
xref:BloombergLP/baltzo/TimeZoneUtil/loadLocalTimePeriod-00.adoc[loadLocalTimePeriod](
    xref:BloombergLP/baltzo/LocalTimePeriod.adoc[LocalTimePeriod]* result,
    xref:BloombergLP/baltzo/LocalDatetime.adoc[LocalDatetime] const& localTime);
----

[.small]#xref:BloombergLP/baltzo/TimeZoneUtil/loadLocalTimePeriod-00.adoc[_» more&period;&period;&period;_]#

Load, into the specified `result`, attributes characterizing the specified `localTime` in the time zone indicated by the specified `timeZoneId` (i&period;e&period;, the offset from UTC, whether daylight&hyphen;saving time is in effect and the description of the time zone), as well as the time interval over which those attributes apply&period; Return 0 on success, and a non&hyphen;zero value with no effect otherwise&period; A return value of `ErrorCode&colon;&colon;k&lowbar;UNSUPPORTED&lowbar;ID` indicates that `timeZoneId` was not recognized&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
xref:BloombergLP/baltzo/TimeZoneUtil/loadLocalTimePeriod-0a.adoc[loadLocalTimePeriod](
    xref:BloombergLP/baltzo/LocalTimePeriod.adoc[LocalTimePeriod]* result,
    xref:BloombergLP/bdlt/DatetimeTz.adoc[bdlt::DatetimeTz] const& localTime,
    char const* timeZoneId);
----

[.small]#xref:BloombergLP/baltzo/TimeZoneUtil/loadLocalTimePeriod-0a.adoc[_» more&period;&period;&period;_]#


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