[#BloombergLP-bdlt-operator_eq-0d] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::operator== :relfileprefix: ../../ :mrdocs: Return `true` if the specified `lhs` and `rhs` calendars have the same value. == Synopsis Declared in `<bdlt_packedcalendar.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool operator==( xref:BloombergLP/bdlt/PackedCalendar.adoc[PackedCalendar] const& lhs, xref:BloombergLP/bdlt/PackedCalendar.adoc[PackedCalendar] const& rhs); ---- == Description Return `true` if the specified `lhs` and `rhs` calendars have the same value, and `false` otherwise. 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. == Return Value `true` if `lhs` and `rhs` have the same value, and `false` otherwise == Parameters [cols="1,4"] |=== | Name| Description | *lhs* | left‐hand calendar | *rhs* | right‐hand calendar |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#