[#BloombergLP-baltzo-TimeZoneUtil-validateLocalTime-0b] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/baltzo.adoc[baltzo]::xref:BloombergLP/baltzo/TimeZoneUtil.adoc[TimeZoneUtil]::validateLocalTime :relfileprefix: ../../../ :mrdocs: `validateLocalTime` overloads == Synopses Declared in `<baltzo_timezoneutil.h>` Validate that `localTime` matches its time‐zone data. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/baltzo/TimeZoneUtil/validateLocalTime-01.adoc[validateLocalTime]( bool* result, xref:BloombergLP/baltzo/LocalDatetime.adoc[LocalDatetime] const& localTime); ---- [.small]#xref:BloombergLP/baltzo/TimeZoneUtil/validateLocalTime-01.adoc[_» more..._]# Validate that `localTime` matches time‐zone data for `timeZoneId`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/baltzo/TimeZoneUtil/validateLocalTime-00.adoc[validateLocalTime]( bool* result, xref:BloombergLP/bdlt/DatetimeTz.adoc[bdlt::DatetimeTz] const& localTime, char const* timeZoneId); ---- [.small]#xref:BloombergLP/baltzo/TimeZoneUtil/validateLocalTime-00.adoc[_» more..._]# == Return Value 0 on success, and a non‐zero value otherwise == Parameters [cols="1,4"] |=== | Name| Description | *result* | receives whether `localTime` is consistent with the data | *localTime* | local date‐time whose offset is validated | *timeZoneId* | identifier of the time zone used for validation |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#