BloombergLP::bdlt::Time::setMicrosecondIfValid

Set the "microsecond" attribute of this time object to the specified microsecond if 0 <= microsecond < 1000; if the hour attribute is 24, set the hour attribute to 0. Return 0 on success, and a non-zero value (with no effect) otherwise.

Synopsis

Declared in <bdlt_time.h>

int
setMicrosecondIfValid(int microsecond);