FreeRDP/winpr/libwinpr/timezone/TimeZones.h

35 lines
655 B
C
Raw Normal View History

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>
typedef struct
2019-12-06 11:58:04 +03:00
{
UINT64 TicksStart;
UINT64 TicksEnd;
INT32 DaylightDelta;
SYSTEMTIME StandardDate;
SYSTEMTIME DaylightDate;
} TIME_ZONE_RULE_ENTRY;
2019-12-06 11:58:04 +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;
} 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_ */