BloombergLP::bdlt::operator==

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

Synopsis

Declared in <bdlt_timetz.h>

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

Description

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

Return Value

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

Parameters

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