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

Equality operators

== Synopses

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

Return `true` if the specified `lhs` and `rhs` time objects have the same value, and `false` otherwise&period; Two time objects have the same value if each of their corresponding `hour`, `minute`, `second`, `millisecond`, and `microsecond` attributes respectively have the same value&period;


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

[.small]#xref:BloombergLP/bdlt/operator_eq-04c.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified `lhs` and `rhs` objects have the same value, and `false` otherwise&period; Two `FixUtilConfiguration` objects have the same value if each of their `fractionalSecondPrecision` and `useZAbbreviationForUtc` attributes (respectively) have the same value&period;


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

[.small]#xref:BloombergLP/bdlt/operator_eq-086.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified `lhs` and `rhs` compactable transitions have the same value, and `false` otherwise&period; Two compactable transitions have the same value if they have the same time and code&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/bdlt/operator_eq-06d.adoc[operator&equals;&equals;](
    xref:BloombergLP/bdlt/Timetable_CompactableTransition.adoc[Timetable&lowbar;CompactableTransition] const& lhs,
    xref:BloombergLP/bdlt/Timetable_CompactableTransition.adoc[Timetable&lowbar;CompactableTransition] const& rhs);
----

[.small]#xref:BloombergLP/bdlt/operator_eq-06d.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified `lhs` and `rhs` timetable transitions have the same value, and `false` otherwise&period; Two timetable transitions have the same value if they have the same datetime and code&period;


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

[.small]#xref:BloombergLP/bdlt/operator_eq-013.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified `lhs` and `rhs` daily timetables have the same value, and `false` otherwise&period; Two daily timetables have the same value if they have the same initial transition code, the same number of transitions, and each corresponding pair of transitions has the same value&period;


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

[.small]#xref:BloombergLP/bdlt/operator_eq-069.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified `lhs` and `rhs` iterators have the same value, and `false` otherwise&period; Two `Timetable&lowbar;ConstIterator` iterators have the same value if they refer to the same timetable and the same transition&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/bdlt/operator_eq-09d.adoc[operator&equals;&equals;](
    xref:BloombergLP/bdlt/Timetable_ConstIterator.adoc[Timetable&lowbar;ConstIterator] const& lhs,
    xref:BloombergLP/bdlt/Timetable_ConstIterator.adoc[Timetable&lowbar;ConstIterator] const& rhs);
----

[.small]#xref:BloombergLP/bdlt/operator_eq-09d.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified `lhs` and `rhs` timetables have the same value, and `false` otherwise&period; Two timetables have the same value if they have the same initial transition code, the same valid range (or are both empty), the same number of transitions, and each corresponding pair of transitions have the same value&period;


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

[.small]#xref:BloombergLP/bdlt/operator_eq-08bb.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified `lhs` and `rhs` objects have the same value, and `false` otherwise&period; Two `Iso8601UtilParseConfiguration` objects have the same value if each of their `basic` and `relaxed` attributes (respectively) have the same value&period;


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

[.small]#xref:BloombergLP/bdlt/operator_eq-094.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified `lhs` and `rhs` objects have the same value, and `false` otherwise&period; Two `Iso8601UtilConfiguration` objects have the same value if each of their `fractionalSecondPrecision`, `omitColonInZoneDesignator`, `useCommaForDecimalSign`, and `useZAbbreviationForUtc` attributes (respectively) have the same value&period;


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

[.small]#xref:BloombergLP/bdlt/operator_eq-014.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified `lhs` and `rhs` `DatetimeTz` objects have the same value, and `false` otherwise&period; Two `DatetimeTz` objects have the same value if they have the same local datetime value and the same time zone offset value&period;


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

[.small]#xref:BloombergLP/bdlt/operator_eq-00b.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified `lhs` and `rhs` objects have the same value, and `false` otherwise&period; Two `TimeTz` objects have the same value if their corresponding `localTime` and `offset` attributes have the same values&period;


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

[.small]#xref:BloombergLP/bdlt/operator_eq-0ac.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified `lhs` and `rhs` `DateTz` objects have the same value, and `false` otherwise&period; Two `DateTz` objects have the same value if they have the same local date value and the same time zone offset value&period;


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

[.small]#xref:BloombergLP/bdlt/operator_eq-000.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified `lhs` and `rhs` objects have the same value, and `false` otherwise&period; Two `Date` objects have the same value if each of their `year`, `month`, and `day` attributes (respectively) have the same value&period;


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

[.small]#xref:BloombergLP/bdlt/operator_eq-057.adoc[_» more&period;&period;&period;_]#

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 all of the corresponding values of their days, hours, minutes, seconds, milliseconds, and microseconds fields are the same&period;


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

[.small]#xref:BloombergLP/bdlt/operator_eq-043.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified `lhs` and `rhs` objects have the same value, and `false` otherwise&period; Two `Datetime` objects have the same value if they have the same values for their &quot;date&quot; and &quot;time&quot; parts, respectively&period;


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

[.small]#xref:BloombergLP/bdlt/operator_eq-022.adoc[_» more&period;&period;&period;_]#

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;


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

[.small]#xref:BloombergLP/bdlt/operator_eq-04d.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified `lhs` and `rhs` iterators refer to the same element in the same calendar, and `false` otherwise&period; The behavior is undefined unless `lhs` and `rhs` both iterate over the same calendar&period;


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

[.small]#xref:BloombergLP/bdlt/operator_eq-0a9.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified `lhs` and `rhs` iterators refers to the same element, and `false` otherwise&period; The behavior is undefined unless `lhs` and `rhs` both reference the same holiday in the same calendar&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/bdlt/operator_eq-0a4.adoc[operator&equals;&equals;](
    xref:BloombergLP/bdlt/PackedCalendar_HolidayCodeConstIterator.adoc[PackedCalendar&lowbar;HolidayCodeConstIterator] const& lhs,
    xref:BloombergLP/bdlt/PackedCalendar_HolidayCodeConstIterator.adoc[PackedCalendar&lowbar;HolidayCodeConstIterator] const& rhs);
----

[.small]#xref:BloombergLP/bdlt/operator_eq-0a4.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified `lhs` and `rhs` iterators refer to the same element in the same calendar, and `false` otherwise&period; The behavior is undefined unless `lhs` and `rhs` both iterate over the same calendar&period;


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

[.small]#xref:BloombergLP/bdlt/operator_eq-050.adoc[_» more&period;&period;&period;_]#

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;


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

[.small]#xref:BloombergLP/bdlt/operator_eq-0d.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified `lhs` and `rhs` iterators refer to the same element in the same calendar, and `false` otherwise&period; The behavior is undefined unless `lhs` and `rhs` both iterate over the same calendar&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/bdlt/operator_eq-0f.adoc[operator&equals;&equals;](
    xref:BloombergLP/bdlt/PackedCalendar_BusinessDayConstIterator.adoc[PackedCalendar&lowbar;BusinessDayConstIterator] const& lhs,
    xref:BloombergLP/bdlt/PackedCalendar_BusinessDayConstIterator.adoc[PackedCalendar&lowbar;BusinessDayConstIterator] const& rhs);
----

[.small]#xref:BloombergLP/bdlt/operator_eq-0f.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified `lhs` and `rhs` sets have the same value, and `false` otherwise&period; Two sets have the same value if they have the same length and all the elements of one set are members of the other set&period;


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

[.small]#xref:BloombergLP/bdlt/operator_eq-021.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified `lhs` and `rhs` iterators have the same value, and `false` otherwise&period; Two iterators have the same value if they refer to data at the same index position&period; The behavior is undefined unless `lhs` and `rhs` both reference into the same set of data&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/bdlt/operator_eq-0e.adoc[operator&equals;&equals;](
    xref:BloombergLP/bdlt/DayOfWeekSet_Iter.adoc[DayOfWeekSet&lowbar;Iter] const& lhs,
    xref:BloombergLP/bdlt/DayOfWeekSet_Iter.adoc[DayOfWeekSet&lowbar;Iter] const& rhs);
----

[.small]#xref:BloombergLP/bdlt/operator_eq-0e.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified `lhs` reverse iterator has the same value as the specified `rhs` reverse iterator, and `false` otherwise&period; Two reverse iterators have the same value if they refer to the same element, or both have the past&hyphen;the&hyphen;end value for a reverse iterator over the underlying reverse iteration sequence&period; The behavior is undefined unless `lhs` and `rhs` refer to the same underlying sequence&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class ITERATOR&gt;
bool
xref:BloombergLP/bdlt/operator_eq-08b5.adoc[operator&equals;&equals;](
    xref:BloombergLP/bdlt/CalendarReverseIteratorAdapter.adoc[CalendarReverseIteratorAdapter&lt;ITERATOR&gt;] const& lhs,
    xref:BloombergLP/bdlt/CalendarReverseIteratorAdapter.adoc[CalendarReverseIteratorAdapter&lt;ITERATOR&gt;] const& rhs);
----

[.small]#xref:BloombergLP/bdlt/operator_eq-08b5.adoc[_» more&period;&period;&period;_]#


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