BloombergLP::bdlt::Datetime::setMicrosecond

Set the "microsecond" attribute of this object to the specified microsecond value. If 24 == hour(), set the hour attribute to 0. The behavior is undefined unless 0 <= microsecond <= 999. Note that this method has no effect on the "date" part of this object.

Synopsis

Declared in <bdlt_datetime.h>

void
setMicrosecond(int microsecond);