Set the hour attribute of this time object.
Synopsis
Declared in <bdlt_time.h>
void
setHour(int hour);
Description
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.
Parameters
Name |
Description |
hour |
hour attribute to set |
Created with MrDocs