[#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`&period; The fractional part of `seconds`, if any, is rounded to the nearest whole number of nanoseconds&period; The behavior is undefined unless the total number of seconds in the resulting time interval can be represented with a 64&hyphen;bit signed integer&period;

== Synopsis

Declared in `&lt;bsls&lowbar;timeinterval&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
TimeInterval(double seconds);
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
