CTimeSpan Comparison Operators
BOOLoperator==(CTimeSpantimeSpan**)const;**
BOOLoperator!=(CTimeSpantimeSpan**)const;**
BOOLoperator<(CTimeSpantimeSpan**)const;**
BOOLoperator>(CTimeSpantimeSpan**)const;**
BOOLoperator<=(CTimeSpantimeSpan**)const;**
BOOLoperator>=(CTimeSpantimeSpan**)const;**
Remarks
These operators compare two relative time values. They return nonzero if the condition is true; otherwise 0.
Example
// example for CTimeSpan comparison operators
CTimeSpan ts1( 100 );
CTimeSpan ts2( 110 );
ASSERT( ( ts1 != ts2 ) && ( ts1 < ts2 ) && ( ts1 <= ts2 ) );