summaryrefslogtreecommitdiffstats
path: root/winpr/libwinpr/timezone/TimeZones.h
blob: 54c9f2d9a39ee736ee594d05e5fda6ed03421c82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/*
 * Automatically generated with scripts/TimeZones.csx
 */

#ifndef WINPR_TIME_ZONES_H_
#define WINPR_TIME_ZONES_H_

#include <winpr/wtypes.h>

typedef struct
{
	UINT64 TicksStart;
	UINT64 TicksEnd;
	INT32 DaylightDelta;
	SYSTEMTIME StandardDate;
	SYSTEMTIME DaylightDate;
} TIME_ZONE_RULE_ENTRY;

typedef struct
{
	const char* Id;
	INT32 Bias;
	BOOL SupportsDST;
	const char* DisplayName;
	const char* StandardName;
	const char* DaylightName;
	const TIME_ZONE_RULE_ENTRY* RuleTable;
	UINT32 RuleTableCount;
} TIME_ZONE_ENTRY;

extern const TIME_ZONE_ENTRY TimeZoneTable[];
extern const size_t TimeZoneTableNrElements;

#endif /* WINPR_TIME_ZONES_H_ */