BloombergLP::bdlt::operator!=

Return true if the two datetimes do not have the same value.

Synopsis

Declared in <bdlt_datetime.h>

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

Description

Return true if the specified lhs and rhs Datetime objects do not have the same value, and false otherwise. Two Datetime objects do not have the same value if they do not have the same values for either of their "date" or "time" parts, respectively.

Return Value

true if the two datetimes do not have the same value

Parameters

NameDescription
lhsleft-hand datetime operand
rhsright-hand datetime operand