Set the millisecond attribute if it is in range.
Declared in <bdlt_datetime.h>
int
setMillisecondIfValid(int millisecond);
Set the "millisecond" attribute of this object to the specified millisecond value if 0 <= millisecond <= 999. If 24 == hour(), set the hour attribute to 0. Return 0 on success, and a non-zero value (with no effect) otherwise. Note that this method has no effect on the "date" part of this object.
0 on success, and a non-zero value otherwise
| Name | Description |
|---|---|
| millisecond | millisecond attribute to set |