[#BloombergLP-bdlt-Time-isValid] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/Time.adoc[Time]::isValid :relfileprefix: ../../../ :mrdocs: Return `true` if the specified `hour`, and the optionally specified `minute`, `second`, `millisecond`, and `microsecond`, represent a valid `Time` value, and `false` otherwise. Unspecified arguments default to 0. The `hour`, `minute`, `second`, `millisecond`, and `microsecond` attributes comprise a valid `Time` value if `0 <= hour < 24`, `0 <= minute < 60`, `0 <= second < 60`, `0 <= millisecond < 1000`, and `0 <= microsecond < 1000`. Additionally, 24:00:00.000000 also represents a valid `Time` value. == Synopsis Declared in `<bdlt_time.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static bool isValid( int hour, int minute = 0, int second = 0, int millisecond = 0, int microsecond = 0); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#