Return true if the specified lhs and rhs intervals are not equal.

Synopsis

Declared in <bsls_timeinterval.h>

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

Description

Return true if the specified lhs and rhs time intervals do not have the same value, and false otherwise. Two time intervals do not have the same value if their respective second or nanosecond fields differ in value. The behavior is undefined unless operands of type double can be converted to valid TimeInterval objects.

Return Value

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

Parameters

Name

Description

lhs

left‐hand time interval

rhs

right‐hand time interval

Created with MrDocs