[#BloombergLP-bdlt-DateTz-isValid] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/DateTz.adoc[DateTz]::isValid :relfileprefix: ../../../ :mrdocs: Return `true` if the specified `localDate` and the specified time zone `offset` represent a valid `DateTz` value, and `false` otherwise. A `localDate` and `offset` represent a valid `DateTz` value if `offset` is in the range `( ‐1440 .. 1440 )`. 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 `localDate` itself is a valid `Date` object. == Synopsis Declared in `<bdlt_datetz.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static bool isValid( xref:BloombergLP/bdlt/Date.adoc[Date] const& localDate, int offset); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#