[#BloombergLP-bdlt-TimeTz-isValid] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/TimeTz.adoc[TimeTz]::isValid :relfileprefix: ../../../ :mrdocs: Return `true` if the specified `localTime` and the specified time zone `offset` represent a valid `TimeTz` value, and `false` otherwise. A `localTime` and `offset` represent a valid `TimeTz` value if `offset` is in the range `( ‐1440 .. 1440 )`, and `offset` is 0 if `localTime` has the value `24:00:00.000`. Note that a `true` result from this function does not guarantee that `offset` corresponds to any geographical or historical time zone. Also note that a `true` result from this function does not guarantee that `localTime` itself is a valid `Time` object. == Synopsis Declared in `<bdlt_timetz.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static bool isValid( xref:BloombergLP/bdlt/Time.adoc[Time] const& localTime, int offset); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#