BloombergLP::bdlt::Time::setMillisecond

Set the millisecond attribute of this time object.

Synopsis

Declared in <bdlt_time.h>

void
setMillisecond(int millisecond);

Description

Set the "millisecond" attribute of this time object to the specified millisecond; if the hour attribute is 24, set the hour attribute to 0. The behavior is undefined unless 0 <= millisecond < 1000.

Parameters

NameDescription
millisecondmillisecond attribute to set