[#BloombergLP-bdlt-operator_eq-04d]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::operator&equals;&equals;
:relfileprefix: ../../
:mrdocs:

Return `true` if the specified `lhs` and `rhs` calendars have the same value&period;

== Synopsis

Declared in `&lt;bdlt&lowbar;calendar&period;h&gt;`

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

== Description

Return `true` if the specified `lhs` and `rhs` calendars have the same value, and `false` otherwise&period; Two calendars have the same value if they have the same valid range (or are both empty), the same weekend days, the same holidays, and each corresponding pair of holidays has the same (ordered) set of associated holiday codes&period;

== Return Value

`true` if `lhs` and `rhs` have the same value, and `false` otherwise

== Parameters

[cols="1,4"]
|===
| Name| Description
| *lhs*
| left&hyphen;hand&hyphen;side calendar to compare
| *rhs*
| right&hyphen;hand&hyphen;side calendar to compare
|===


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