BloombergLP::bdlt::DatetimeInterval::totalSecondsAsDouble

Return the value of this time interval in seconds as a double, potentially with a fractional part. Note that the return value may be negative. Also note that the conversion from the internal representation to double may lose precision.

Synopsis

Declared in <bdlt_datetimeinterval.h>

double
totalSecondsAsDouble() const;