[#BloombergLP-bsls-TimeInterval-2constructor-000] = 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 given by the sum of the specified integral number of `seconds` and `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 (see `isValid`). Note that there is no restriction on the sign or magnitude of either argument except that they must not violate the method's preconditions. == Synopsis Declared in `<bsls_timeinterval.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr TimeInterval( xref:BloombergLP/bsls/Types/Int64.adoc[bsls::Types::Int64] seconds, int nanoseconds); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#