ScummVM API documentation
Graphics::MFC::CTime Class Reference

Public Member Functions

 CTime (int64 time)
 
 CTime (int nYear, int nMonth, int nDay, int nHour, int nMin, int nSec, int nDST=-1)
 
 CTime (uint16 wDosDate, uint16 wDosTime, int nDST=-1)
 
 CTime (const SYSTEMTIME &st, int nDST=-1)
 
 CTime (const FILETIME &ft, int nDST=-1)
 
CTimeoperator= (int64 time)
 
CTimeoperator+= (CTimeSpan span)
 
CTimeoperator-= (CTimeSpan span)
 
CTimeSpan operator- (CTime time) const
 
CTime operator- (CTimeSpan span) const
 
CTime operator+ (CTimeSpan span) const
 
bool operator== (CTime time) const
 
bool operator!= (CTime time) const
 
bool operator< (CTime time) const
 
bool operator> (CTime time) const
 
bool operator<= (CTime time) const
 
bool operator>= (CTime time) const
 
int64 GetTime () const
 
int GetYear () const
 
int GetMonth () const
 
int GetDay () const
 
int GetHour () const
 
int GetMinute () const
 
int GetSecond () const
 
int GetDayOfWeek () const
 
CString Format (const char *pszFormat) const
 
CString FormatGmt (const char *pszFormat) const
 
CString Format (unsigned int nFormatID) const
 
CString FormatGmt (unsigned int nFormatID) const
 

Static Public Member Functions

static CTime WINAPI GetCurrentTime ()
 
static bool WINAPI IsValidFILETIME (const FILETIME &ft)
 

The documentation for this class was generated from the following file: