MFC
Class CTimeSpan
in AFX.H
- class CTimeSpan
CTimeSpan and CTime
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();
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;