BloombergLP::bsls::TimeInterval::setTotalHours

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.

Synopsis

Declared in <bsls_timeinterval.h>

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