BloombergLP::bdlt::Time::setHour

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

Synopsis

Declared in <bdlt_time.h>

void
setHour(int hour);