[#BloombergLP-baltzo-TimeZoneUtilImp-resolveLocalTime]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/baltzo.adoc[baltzo]::xref:BloombergLP/baltzo/TimeZoneUtilImp.adoc[TimeZoneUtilImp]::resolveLocalTime
:relfileprefix: ../../../
:mrdocs:

Load, into the specified `result`, the local time and UTC offset of the specified `localTime` in the specified `timeZone`, using the specified `dstPolicy` to interpret whether or not `localTime` represents a daylight&hyphen;saving time value&semi; load into the specified `resultValidity` an indication of whether `localTime` is valid and unique, valid but ambiguous, or invalid&semi; load into the specified `transitionIter` an iterator pointing to the transition that characterizes the attributes of `localTime`&period; The behavior is undefined unless `ZoneinfoUtil&colon;&colon;isWellFormed(timeZone)` is `true` and the result of the resolution falls within the supported epoch&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
void
resolveLocalTime(
    xref:BloombergLP/bdlt/DatetimeTz.adoc[bdlt::DatetimeTz]* result,
    xref:BloombergLP/baltzo/LocalTimeValidity/Enum.adoc[LocalTimeValidity::Enum]* resultValidity,
    xref:BloombergLP/baltzo/Zoneinfo/TransitionConstIterator.adoc[Zoneinfo::TransitionConstIterator]* transitionIter,
    xref:BloombergLP/bdlt/Datetime.adoc[bdlt::Datetime] const& localTime,
    xref:BloombergLP/baltzo/DstPolicy/Enum.adoc[DstPolicy::Enum] dstPolicy,
    xref:BloombergLP/baltzo/Zoneinfo.adoc[Zoneinfo] const& timeZone);
----


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