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

Synopsis

Declared in <bdlt_date.h>

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

Description

Return true if the specified lhs and rhs objects do not have the same value, and false otherwise. Two Date objects do not have the same value if any of their year, month, and day attributes (respectively) do not have the same value.

Return Value

true if the two dates do not have the same value

Parameters

Name

Description

lhs

left‐hand date operand

rhs

right‐hand date operand

Created with MrDocs