[#BloombergLP-bsls-operator_plus-01]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsls.adoc[bsls]::operator&plus;
:relfileprefix: ../../
:mrdocs:

Return the sum of the specified `lhs` and `rhs` time intervals&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bsls/TimeInterval.adoc[bsls::TimeInterval]
operator&plus;(
    xref:BloombergLP/bsls/TimeInterval.adoc[TimeInterval] const& lhs,
    xref:BloombergLP/bsls/TimeInterval.adoc[TimeInterval] const& rhs);
----

== Description

Return a `TimeInterval` value that is the sum of the specified `lhs` and `rhs` time intervals&period; The behavior is undefined unless (1) operands of type `double` can be converted to valid `TimeInterval` objects, and (2) the resulting time interval can be represented with a 64&hyphen;bit signed integer&period;

== Return Value

sum of `lhs` and `rhs` as a `TimeInterval`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *lhs*
| left&hyphen;hand time interval
| *rhs*
| right&hyphen;hand time interval
|===


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