BloombergLP::bdlt::operator==

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

Synopsis

Declared in <bdlt_datetz.h>

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

Description

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

Return Value

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

Parameters

NameDescription
lhsleft-hand-side operand
rhsright-hand-side operand