Microsoft Foundation Classes (mfc.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
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 ) );
 
 
 
                                     -♦-