summaryrefslogtreecommitdiffstats
path: root/winpr/libwinpr/timezone/TimeZones.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 01:24:41 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 01:24:41 +0000
commita9bcc81f821d7c66f623779fa5147e728eb3c388 (patch)
tree98676963bcdd537ae5908a067a8eb110b93486a6 /winpr/libwinpr/timezone/TimeZones.h
parentInitial commit. (diff)
downloadfreerdp3-a9bcc81f821d7c66f623779fa5147e728eb3c388.tar.xz
freerdp3-a9bcc81f821d7c66f623779fa5147e728eb3c388.zip
Adding upstream version 3.3.0+dfsg1.upstream/3.3.0+dfsg1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'winpr/libwinpr/timezone/TimeZones.h')
-rw-r--r--winpr/libwinpr/timezone/TimeZones.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/winpr/libwinpr/timezone/TimeZones.h b/winpr/libwinpr/timezone/TimeZones.h
new file mode 100644
index 0000000..54c9f2d
--- /dev/null
+++ b/winpr/libwinpr/timezone/TimeZones.h
@@ -0,0 +1,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_ */