Set this interval to the specified total number of hours.

Synopsis

Declared in <bsls_timeinterval.h>

constexpr
void
setTotalHours(bsls::Types::Int64 hours);

Description

Set the overall value of this object to indicate the specified integral number of hours. The behavior is undefined unless the number of seconds in hours can be represented with a 64‐bit signed integer. Note that hours may be negative.

Parameters

Name

Description

hours

total hours

Created with MrDocs