]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/msw/wince/time.h
4 * Missing time functions and structures for use under WinCE
7 #ifndef _WX_MSW_WINCE_TIME_H_
8 #define _WX_MSW_WINCE_TIME_H_
15 int tm_sec
; /* seconds after the minute - [0,59] */
16 int tm_min
; /* minutes after the hour - [0,59] */
17 int tm_hour
; /* hours since midnight - [0,23] */
18 int tm_mday
; /* day of the month - [1,31] */
19 int tm_mon
; /* months since January - [0,11] */
20 int tm_year
; /* years since 1900 */
21 int tm_wday
; /* days since Sunday - [0,6] */
22 int tm_yday
; /* days since January 1 - [0,365] */
23 int tm_isdst
; /* daylight savings time flag */
29 time_t __cdecl
time(time_t *);
31 time_t __cdecl
mktime(struct tm
*);
33 // VC8 CRT provides the other functions
34 #if !defined(__VISUALC__) || (__VISUALC__ < 1400)
36 struct tm
* __cdecl
localtime(const time_t *);
38 struct tm
* __cdecl
gmtime(const time_t *);
40 #define _tcsftime wcsftime
42 size_t __cdecl
wcsftime(wchar_t *, size_t, const wchar_t *, const struct tm
*);
50 #endif // !_TM_DEFINED
52 #endif // _WX_MSW_WINCE_TIME_H_