blob: 73ee865b9d4e4c5243c53f8b1f0981d01a7c6fb0 [file] [log] [blame]
// 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;
}