home     download     screen shots     bugs     mailing list     example output     generated MFC docs     help     tools and utilities


 Overview   Project   Class   Tree   Index 
MFC Class Library
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

MFC
Class CTimeSpan

   in AFX.H

class CTimeSpan

CTimeSpan and CTime


Constructor Summary
CTimeSpan( time_t time )
          
CTimeSpan( LONG lDays, int nHours, int nMins, int nSecs )
          
CTimeSpan( const CTimeSpan& timeSpanSrc )
          
CTimeSpan()
          
 
Method Summary
 CString Format( LPCTSTR pFormat ) const
          
 CString Format( UINT nID ) const
          
 LONG GetDays() const
          
 int GetHours() const
          
 int GetMinutes() const
          
 int GetSeconds() const
          
 LONG GetTotalHours() const
          
 LONG GetTotalMinutes() const
          
 LONG GetTotalSeconds() const
          
 BOOL operator!=( CTimeSpan timeSpan ) const
          
 CTimeSpan operator+( CTimeSpan timeSpan ) const
          
 const CTimeSpan& operator+=( CTimeSpan timeSpan )
          
 CTimeSpan operator-( CTimeSpan timeSpan ) const
          
 const CTimeSpan& operator-=( CTimeSpan timeSpan )
          
 BOOL operator<( CTimeSpan timeSpan ) const
          
 BOOL operator<=( CTimeSpan timeSpan ) const
          
 const CTimeSpan& operator=( const CTimeSpan& timeSpanSrc )
          
 BOOL operator==( CTimeSpan timeSpan ) const
          
 BOOL operator>( CTimeSpan timeSpan ) const
          
 BOOL operator>=( CTimeSpan timeSpan ) const
          
 

Constructor Detail

CTimeSpan

public CTimeSpan( time_t time );

CTimeSpan

public CTimeSpan( LONG lDays, int nHours, int nMins, int nSecs );

CTimeSpan

public CTimeSpan( const CTimeSpan& timeSpanSrc );

CTimeSpan

public CTimeSpan();


Method Detail

Format

public CString Format( LPCTSTR pFormat ) const;

Format

public CString Format( UINT nID ) const;

GetDays

public LONG GetDays() const;

GetHours

public int GetHours() const;

GetMinutes

public int GetMinutes() const;

GetSeconds

public int GetSeconds() const;

GetTotalHours

public LONG GetTotalHours() const;

GetTotalMinutes

public LONG GetTotalMinutes() const;

GetTotalSeconds

public LONG GetTotalSeconds() const;

operator!=

public BOOL operator!=( CTimeSpan timeSpan ) const;

operator+

public CTimeSpan operator+( CTimeSpan timeSpan ) const;

operator+=

public const CTimeSpan& operator+=( CTimeSpan timeSpan );

operator-

public CTimeSpan operator-( CTimeSpan timeSpan ) const;

operator-=

public const CTimeSpan& operator-=( CTimeSpan timeSpan );

operator<

public BOOL operator<( CTimeSpan timeSpan ) const;

operator<=

public BOOL operator<=( CTimeSpan timeSpan ) const;

operator=

public const CTimeSpan& operator=( const CTimeSpan& timeSpanSrc );

operator==

public BOOL operator==( CTimeSpan timeSpan ) const;

operator>

public BOOL operator>( CTimeSpan timeSpan ) const;

operator>=

public BOOL operator>=( CTimeSpan timeSpan ) const;

 Overview   Project   Class   Tree   Index 
MFC Class Library
CppDoc v2.3.1
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD