Initial cut of timezones

This commit is contained in:
Colin Davidson authored and flysand7 committed 2024-12-01 11:54:50 +11:00
1 parent b7e61095a9
commit fc9983e9c8
9 files changed
+1627 -6

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
#+build windows
package sys_windows
foreign import "system:icu.lib"
UError :: enum i32 {
U_ZERO_ERROR = 0,
}
@(default_calling_convention="system")
foreign icu {
ucal_getWindowsTimeZoneID :: proc(id: wstring, len: i32, winid: wstring, winidCapacity: i32, status: ^UError) -> i32 ---
ucal_getDefaultTimeZone :: proc(result: wstring, cap: i32, status: ^UError) -> i32 ---
}