[#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`&period; If unspecified, `nanoseconds` is 0&period; Return a reference providing modifiable access to this object&period; The behavior is undefined unless `seconds() &plus; seconds`, and the total number of seconds in the resulting time interval, can both be represented with 64&hyphen;bit signed integers&period;

== Synopsis

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

[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]#
