]> git.saurik.com Git - wxWidgets.git/blame - include/wx/msw/wince/time.h
OS/2 fix
[wxWidgets.git] / include / wx / msw / wince / time.h
CommitLineData
1c193821
JS
1
2/*
3 * time.h
4 * Missing time functions and structures for use under WinCE
5 */
6
7#ifndef __WINCE_TIME_
8#define __WINCE_TIME_
9
10struct tm {
11 int tm_sec; /* seconds after the minute - [0,59] */
12 int tm_min; /* minutes after the hour - [0,59] */
13 int tm_hour; /* hours since midnight - [0,23] */
14 int tm_mday; /* day of the month - [1,31] */
15 int tm_mon; /* months since January - [0,11] */
16 int tm_year; /* years since 1900 */
17 int tm_wday; /* days since Sunday - [0,6] */
18 int tm_yday; /* days since January 1 - [0,365] */
19 int tm_isdst; /* daylight savings time flag */
20 };
21
22struct tm * __cdecl localtime(const time_t *);
23
24time_t __cdecl time(time_t *);
25
26time_t __cdecl mktime(struct tm *);
27
28struct tm * __cdecl gmtime(const time_t *);
29
30#define _tcsftime wcsftime
31
32size_t __cdecl wcsftime(wchar_t *, size_t, const wchar_t *,
33 const struct tm *);
34
35extern long timezone;
36
37#endif
38