Equality operators

Synopses

Declared in <bdlt_calendar.h>

Return true if the two time objects have the same value.

bool
operator==(
    Time const& lhs,
    Time const& rhs);

Return true if the specified lhs and rhs have the same value.

bool
operator==(
    FixUtilConfiguration const& lhs,
    FixUtilConfiguration const& rhs);

Return true if lhs and rhs compactable transitions have the same value.

Return true if lhs and rhs timetable transitions have the same value.

bool
operator==(
    TimetableTransition const& lhs,
    TimetableTransition const& rhs);

Return true if lhs and rhs daily timetables have the same value.

bool
operator==(
    Timetable_Day const& lhs,
    Timetable_Day const& rhs);

Return true if lhs and rhs iterators have the same value.

Return true if lhs and rhs timetables have the same value.

bool
operator==(
    Timetable const& lhs,
    Timetable const& rhs);

Return true if the specified lhs and rhs have the same value.

Return true if the specified lhs and rhs have the same value.

Return true if the two DatetimeTz objects have the same value.

bool
operator==(
    DatetimeTz const& lhs,
    DatetimeTz const& rhs);

Return whether the specified lhs and rhs have the same value.

bool
operator==(
    TimeTz const& lhs,
    TimeTz const& rhs);

Return whether the specified lhs and rhs have the same value.

bool
operator==(
    DateTz const& lhs,
    DateTz const& rhs);

Return true if the two dates have the same value.

bool
operator==(
    Date const& lhs,
    Date const& rhs);

Return true if the specified lhs and rhs intervals are equal.

bool
operator==(
    DatetimeInterval const& lhs,
    DatetimeInterval const& rhs);

Return true if the two datetimes have the same value.

bool
operator==(
    Datetime const& lhs,
    Datetime const& rhs);

Return true if the specified lhs and rhs calendars have the same value.

bool
operator==(
    Calendar const& lhs,
    Calendar const& rhs);

Return true if lhs and rhs refer to the same calendar element.

Return true if lhs and rhs refer to the same holiday code.

Return true if lhs and rhs refer to the same holiday.

Return true if the specified lhs and rhs calendars have the same value.

bool
operator==(
    PackedCalendar const& lhs,
    PackedCalendar const& rhs);

Return true if lhs and rhs refer to the same business day.

Return true if the specified lhs and rhs sets have the same value.

bool
operator==(
    DayOfWeekSet const& lhs,
    DayOfWeekSet const& rhs);

Return true if the specified lhs and rhs iterators have the same value.

bool
operator==(
    DayOfWeekSet_Iter const& lhs,
    DayOfWeekSet_Iter const& rhs);

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

template<class ITERATOR>
bool
operator==(
    CalendarReverseIteratorAdapter<ITERATOR> const& lhs,
    CalendarReverseIteratorAdapter<ITERATOR> const& rhs);

Return Value

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

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

  • true if the compactable transitions are equal

  • true if the timetable transitions are equal

  • true if the daily timetables are equal

  • true if the iterators are equal

  • true if the timetables are equal

  • true if the configurations have the same value, and false otherwise

  • true if the objects have the same value, and false otherwise

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

  • true if the two dates have the same value

  • true if the two datetimes have the same value

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

  • true if lhs and rhs refer to the same element, and false otherwise

  • true if lhs and rhs refer to the same holiday code, and false otherwise

  • true if lhs and rhs refer to the same holiday, and false otherwise

  • true if lhs and rhs refer to the same business day, and false otherwise

Parameters

Name

Description

lhs

left‐hand time operand

rhs

right‐hand time operand

Created with MrDocs