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.
hour
0 <= hour <= 24
Declared in <bdlt_time.h>
<bdlt_time.h>
void setHour(int hour);