Set the value of this time object to the specified hour, and the optionally specified minute, second, and millisecond, if they would comprise a valid Time value (see isValid). Return 0 on success, and a non-zero value (with no effect) otherwise. Unspecified arguments default to 0.
Declared in <bdlt_time.h>
int
validateAndSetTime(
int hour,
int minute = 0,
int second = 0,
int millisecond = 0);
DEPRECATED: Use setTimeIfValid instead.