#include <ctime>
Go to the source code of this file.
Classes | |
struct | DateTime |
Defines | |
#define | COMPARE(v) if(v<other.v) return true; if(v>other.v) return false; |
#define | COMPARE(x) if( x!=other.x ) return false; |
Functions | |
CString | DayInYearToString (int iDayInYearIndex) |
CString | LastDayToString (int iLastDayIndex) |
CString | DayOfWeekToString (int iDayOfWeekIndex) |
CString | HourInDayToString (int iHourIndex) |
CString | MonthToString (int iMonthIndex) |
CString | LastWeekToString (int iLastWeekIndex) |
tm | AddDays (tm start, int iDaysToMove) |
tm | GetYesterday (tm start) |
int | GetDayOfWeek (tm time) |
tm | GetNextSunday (tm start) |
tm | GetDayInYearAndYear (int iDayInYearIndex, int iYear) |
Variables | |
const int | NUM_LAST_DAYS = 7 |
const int | NUM_LAST_WEEKS = 52 |
const int | DAYS_IN_YEAR = 366 |
const int | HOURS_IN_DAY = 24 |
const int | DAYS_IN_WEEK = 7 |
const int | MONTHS_IN_YEAR = 12 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|