#include <timefuncs.h>
Static Public Member Functions | |
HIGHRES_TIME | GetHighResTime () |
char * | DateString (char *r_buffer, WORM_TIME_FORMAT p_format, WORM_TIME_LOCALE p_locale=WORM_GMT_TIME, double p_time=-1.0) |
double | TimeToDouble (const char *p_buffer) |
void | MSecSleep (unsigned int p_msec) |
bool | IsLeapyear (unsigned int p_year) |
bool | YearJulianToMonDay (short p_year, short p_julday, short *r_monthnum, short *r_monthday) |
bool | CrackDate (const char *p_buffer, short *r_year, short *r_monthnum, short *r_monthday, short *r_year2, short *r_julday=NULL, bool *r_isleap=NULL) |
bool | CrackTime (const char *p_buffer, short *p_hour, short *p_min, short *p_sec=NULL, short *p_msec=NULL, double *p_fpsec=NULL) |
Static Public Attributes | |
const char | DOW [7][4] = { "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" } |
const char | MOY [12][4] = { "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" } |
Static Protected Attributes | |
const short | MONTH_STARTS [2][12] |
|
Definition at line 365 of file timefuncs.cpp. References IsLeapyear(), and MONTH_STARTS. |
|
Definition at line 428 of file timefuncs.cpp. |
|
Definition at line 55 of file timefuncs.cpp. References GetHighResTime(), WORM_GMT_TIME, WORM_LOCAL_TIME, WORM_TIMEFMT_14, WORM_TIMEFMT_16, WORM_TIMEFMT_18, WORM_TIMEFMT_19, WORM_TIMEFMT_23, WORM_TIMEFMT_26, WORM_TIMEFMT_8, and WORM_TIMEFMT_UTC21. Referenced by TLogger::Logit(), and TLogger::OpenFile(). |
|
Definition at line 31 of file timefuncs.cpp. References HIGHRES_TIME. Referenced by DateString(). |
|
Definition at line 310 of file timefuncs.cpp. Referenced by CrackDate(), and YearJulianToMonDay(). |
|
|
Definition at line 207 of file timefuncs.cpp. |
|
Definition at line 330 of file timefuncs.cpp. References IsLeapyear(), and MONTH_STARTS. |
|
Definition at line 20 of file timefuncs.cpp. |
|
Initial value: { { 1, 32, 60, 91, 121, 152, 182, 213, 244, 274, 305, 335 } ,{ 1, 32, 61, 92, 122, 153, 183, 214, 245, 275, 306, 336 } } Definition at line 24 of file timefuncs.cpp. Referenced by CrackDate(), and YearJulianToMonDay(). |
|
Definition at line 22 of file timefuncs.cpp. |