2019-12-06 11:58:04 +03:00
|
|
|
/*
|
|
|
|
* Automatically generated with scripts/TimeZones.csx
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef WINPR_TIME_ZONES_H_
|
|
|
|
#define WINPR_TIME_ZONES_H_
|
|
|
|
|
|
|
|
#include <winpr/wtypes.h>
|
|
|
|
|
2022-02-14 16:59:22 +03:00
|
|
|
typedef struct
|
2019-12-06 11:58:04 +03:00
|
|
|
{
|
|
|
|
UINT64 TicksStart;
|
|
|
|
UINT64 TicksEnd;
|
|
|
|
INT32 DaylightDelta;
|
|
|
|
SYSTEMTIME StandardDate;
|
|
|
|
SYSTEMTIME DaylightDate;
|
2022-02-14 16:59:22 +03:00
|
|
|
} TIME_ZONE_RULE_ENTRY;
|
2019-12-06 11:58:04 +03:00
|
|
|
|
2022-02-14 16:59:22 +03:00
|
|
|
typedef struct
|
2019-12-06 11:58:04 +03:00
|
|
|
{
|
|
|
|
const char* Id;
|
|
|
|
INT32 Bias;
|
|
|
|
BOOL SupportsDST;
|
|
|
|
const char* DisplayName;
|
|
|
|
const char* StandardName;
|
|
|
|
const char* DaylightName;
|
|
|
|
const TIME_ZONE_RULE_ENTRY* RuleTable;
|
|
|
|
UINT32 RuleTableCount;
|
2022-02-14 16:59:22 +03:00
|
|
|
} TIME_ZONE_ENTRY;
|
2019-12-06 11:58:04 +03:00
|
|
|
|
|
|
|
extern const TIME_ZONE_ENTRY TimeZoneTable[];
|
|
|
|
extern const size_t TimeZoneTableNrElements;
|
|
|
|
|
|
|
|
#endif /* WINPR_TIME_ZONES_H_ */
|