#include <Time.hpp>
List of all members.
Public Types |
enum | Format { FMT_ISO = 0x0001,
FMT_WIN_SHORT = 0x0002,
FMT_WIN_LONG = 0x0003
} |
Public Member Functions |
| CTime () |
| CTime (WCL::Seconds tTime) |
| CTime (int iHours, int iMins, int iSecs) |
void | Set () |
void | Set (WCL::Seconds tTime) |
void | Set (int iHours, int iMins, int iSecs) |
void | Get (int &iHours, int &iMins, int &iSecs) const |
void | Hours (int iHours) |
int | Hours () const |
void | Mins (int iMins) |
int | Mins () const |
void | Secs (int iSecs) |
int | Secs () const |
WCL::Seconds | GetTimeInSecs () const |
CString | ToString (int nFormat=FMT_WIN_LONG) const |
bool | FromString (const tchar *pszTime) |
bool | operator== (const CTime &rRHS) const |
bool | operator!= (const CTime &rRHS) const |
bool | operator< (const CTime &rRHS) const |
bool | operator> (const CTime &rRHS) const |
bool | operator<= (const CTime &rRHS) const |
bool | operator>= (const CTime &rRHS) const |
CTimeSpan | operator- (const CTime &rRHS) const |
void | operator+= (const CTimeSpan &rRHS) |
void | operator-= (const CTimeSpan &rRHS) |
Static Public Member Functions |
static CTime | Min () |
static CTime | Max () |
static CTime | Current () |
static CString | FieldSeparator () |
Static Public Attributes |
static const int | MIN_HOURS = 0 |
static const int | MAX_HOURS = 23 |
static const int | MIN_MINS = 0 |
static const int | MAX_MINS = 59 |
static const int | MIN_SECS = 0 |
static const int | MAX_SECS = 59 |
Protected Attributes |
WCL::Seconds | m_tTime |
Friends |
class | CTimeSpan |
class | CDateTime |
void | operator>> (WCL::IInputStream &rStream, CTime &rTime) |
void | operator<< (WCL::IOutputStream &rStream, const CTime &rTime) |
Member Enumeration Documentation
- Enumerator:
FMT_ISO |
|
FMT_WIN_SHORT |
|
FMT_WIN_LONG |
|
Constructor & Destructor Documentation
Member Function Documentation
void CTime::Set |
( |
int |
iHours, |
|
|
int |
iMins, |
|
|
int |
iSecs |
|
) |
| |
void CTime::Get |
( |
int & |
iHours, |
|
|
int & |
iMins, |
|
|
int & |
iSecs |
|
) |
| const |
bool CTime::operator== |
( |
const CTime & |
rRHS | ) |
const [inline] |
bool CTime::operator!= |
( |
const CTime & |
rRHS | ) |
const [inline] |
bool CTime::operator< |
( |
const CTime & |
rRHS | ) |
const [inline] |
bool CTime::operator> |
( |
const CTime & |
rRHS | ) |
const [inline] |
bool CTime::operator<= |
( |
const CTime & |
rRHS | ) |
const [inline] |
bool CTime::operator>= |
( |
const CTime & |
rRHS | ) |
const [inline] |
void CTime::operator+= |
( |
const CTimeSpan & |
rRHS | ) |
[inline] |
void CTime::operator-= |
( |
const CTimeSpan & |
rRHS | ) |
[inline] |
Friends And Related Function Documentation
Member Data Documentation
The documentation for this class was generated from the following files: