[#BloombergLP-bsls-TimeInterval-addInterval] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsls.adoc[bsls]::xref:BloombergLP/bsls/TimeInterval.adoc[TimeInterval]::addInterval :relfileprefix: ../../../ :mrdocs: Add to this time interval the specified integral number of `seconds`, and the optionally specified integral number of `nanoseconds`. If unspecified, `nanoseconds` is 0. Return a reference providing modifiable access to this object. The behavior is undefined unless `seconds() + seconds`, and the total number of seconds in the resulting time interval, can both be represented with 64‐bit signed integers. == Synopsis Declared in `<bsls_timeinterval.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bsls/TimeInterval.adoc[TimeInterval]& addInterval( xref:BloombergLP/bsls/Types/Int64.adoc[bsls::Types::Int64] seconds, int nanoseconds = 0); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#