[#BloombergLP-bsls-operator_eq-0e]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsls.adoc[bsls]::operator&equals;&equals;
:relfileprefix: ../../
:mrdocs:

Return `true` if the specified `lhs` and `rhs` time intervals have the same value, and `false` otherwise&period; Two time intervals have the same value if their respective second and nanosecond fields have the same value&period; The behavior is undefined unless operands of type `double` can be converted to valid `TimeInterval` objects&period;

== Synopsis

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

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


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