BloombergLP::bsls::TimeInterval::TimeInterval

Create a time interval having the value represented by the specified real number of seconds. The fractional part of seconds, if any, is rounded to the nearest whole number of nanoseconds. The behavior is undefined unless the total number of seconds in the resulting time interval can be represented with a 64-bit signed integer.

Synopsis

Declared in <bsls_timeinterval.h>

explicit
TimeInterval(double seconds);