BloombergLP::bsls::TimeInterval::totalMilliseconds

Return this interval as whole milliseconds, rounded toward zero.

Synopsis

Declared in <bsls_timeinterval.h>

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

Description

Return the value of this time interval as an integral number of milliseconds, rounded towards zero. The behavior is undefined unless the number of milliseconds can be represented with a 64-bit signed integer. Note that the return value may be negative.

Return Value

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