BloombergLP::bsls::TimeInterval::totalSeconds

Return this interval as whole seconds, rounded toward zero.

Synopsis

Declared in <bsls_timeinterval.h>

constexpr
bsls::Types::Int64
totalSeconds() const;

Description

Return the value of this time interval as an integral number of seconds, rounded towards zero. Note that the return value may be negative. Also note that this method returns the same value as seconds.

Return Value

this interval as an integral number of seconds, rounded towards zero