BloombergLP::bdlt::operator!=

Return true if the specified lhs and rhs calendars differ in value.

Synopsis

Declared in <bdlt_calendar.h>

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

Description

Return true if the specified lhs and rhs calendars do not have the same value, and false otherwise. Two calendars do not have the same value if they do not have the same valid range (and are not both empty), do not have the same weekend days, do not have the same holidays, or, for at least one corresponding pair of holidays, do not have the same (ordered) set of associated holiday codes.

Return Value

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

Parameters

NameDescription
lhsleft-hand-side calendar to compare
rhsright-hand-side calendar to compare