Microsoft Foundation Classes (mfc.hlp) (Table of Contents; Topic list)
CTimeSpan Comparison Operators
CTimeSpan                                   Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  BOOL operator ==( CTimeSpan timeSpan ) const;
  BOOL operator !=( CTimeSpan timeSpan ) const;
  BOOL operator <( CTimeSpan timeSpan ) const;
  BOOL operator >( CTimeSpan timeSpan ) const;
  BOOL operator <=( CTimeSpan timeSpan ) const;
  BOOL operator >=( CTimeSpan timeSpan ) const;
 
  Remarks
 
  These operators compare two relative time values. They return TRUE if
  the condition is true; otherwise FALSE.
 
  Example
 
  CTimeSpan ts1( 100 );
  CTimeSpan ts2( 110 );
  ASSERT( ( ts1 != ts2 ) && ( ts1 < ts2 ) && ( ts1 <= ts2 ) );
 
 
 
                                     -♦-