| // generated by diplomat-tool |
| import type { TimeZoneInfo } from "./TimeZoneInfo" |
| import type { UtcOffset } from "./UtcOffset" |
| import type { pointer, codepoint } from "./diplomat-runtime.d.ts"; |
| |
| |
| /** See the [Rust documentation for `TimeZone`](https://docs.rs/icu/latest/icu/time/struct.TimeZone.html) for more information. |
| */ |
| |
| |
| export class TimeZone { |
| |
| get ffiValue(): pointer; |
| |
| static unknown(): TimeZone; |
| |
| static createFromBcp47(id: string): TimeZone; |
| |
| withOffset(offset: UtcOffset): TimeZoneInfo; |
| |
| withoutOffset(): TimeZoneInfo; |
| } |