BOOL operatore = = ( CTimeSpan timeSpan ) const;
BOOL operatore ! = ( CTimeSpan timeSpan ) const;
BOO&L operatore lt;( CTimeSpan timeSpan ) const;
BOOL operatore >( CTimeSpan timeSpan ) const;
BOO&L operatore lt; = ( CTimeSpan timeSpan ) const;
BOOL operatore > = ( CTimeSpan timeSpan ) const;
Osservazioni
Questi operatori confrontare due valori di tempo relativo. Ritornano diverso da zero se la condizione è true; in caso contrario 0.
Esempio
/ / esempio per gli operatori di confronto CTimeSpan
CTimeSpan ts1 (100);
CTimeSpan ts2 (110);
ASSERT ((ts1! = ts2) amp; & (ts1 < ts2) & & (ts1 < = ts2))
Panoramica CTimespan |nbsp; Membri della classe | Gerarchia Chart