• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// generated by diplomat-tool
2import type { TimeZoneInfo } from "./TimeZoneInfo"
3import type { UtcOffset } from "./UtcOffset"
4import type { pointer, codepoint } from "./diplomat-runtime.d.ts";
5
6
7/** See the [Rust documentation for `TimeZone`](https://docs.rs/icu/latest/icu/time/struct.TimeZone.html) for more information.
8*/
9
10
11export class TimeZone {
12
13    get ffiValue(): pointer;
14
15    static unknown(): TimeZone;
16
17    static createFromBcp47(id: string): TimeZone;
18
19    withOffset(offset: UtcOffset): TimeZoneInfo;
20
21    withoutOffset(): TimeZoneInfo;
22}