Esc

Time_Zone_Kind

enumextensionsince 0.36.1Source
  • macOS: Time_Zone_Kind works on macOS
  • Linux: Time_Zone_Kind works on Linux
  • Windows: Time_Zone_Kind works on Windows
  • Wasm: Time_Zone_Kind works on Wasm

Declaration

Time_Zone_Kind :: enum u8 {
    UTC;    FIXED;    RULES;}

The representation of a zone.

Example↗
assert(time_zone_utc().kind == .UTC);
o, _ := offset(3600);
assert(time_zone_fixed(o).kind == .FIXED);

See also