Return true if the two DatetimeTz objects have the same value.
Declared in <bdlt_datetimetz.h>
bool
operator==(
DatetimeTz const& lhs,
DatetimeTz const& rhs);
Return true if the specified lhs and rhs DatetimeTz objects have the same value, and false otherwise. Two DatetimeTz objects have the same value if they have the same local datetime value and the same time zone offset value.
true if the objects have the same value, and false otherwise
| Name | Description |
|---|---|
| lhs | left-hand operand |
| rhs | right-hand operand |