Initial cut of timezones

This commit is contained in:
Colin Davidson
2024-10-09 19:26:43 -07:00
parent 5c63617191
commit a6502c3e8c
9 changed files with 1627 additions and 6 deletions
+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 ---
}