[#BloombergLP-bsls-TimeInterval-2constructor-009] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsls.adoc[bsls]::xref:BloombergLP/bsls/TimeInterval.adoc[TimeInterval]::TimeInterval :relfileprefix: ../../../ :mrdocs: 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>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit TimeInterval(double seconds); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#