1// generated by diplomat-tool 2import type { DataError } from "./DataError" 3import type { DataProvider } from "./DataProvider" 4import type { TimeZone } from "./TimeZone" 5import type { pointer, codepoint } from "./diplomat-runtime.d.ts"; 6 7 8/** A mapper between Windows time zone identifiers and BCP-47 time zone identifiers. 9* 10*This mapper supports two-way mapping, but it is optimized for the case of Windows to BCP-47. 11*It also supports normalizing and canonicalizing the Windows strings. 12* 13*See the [Rust documentation for `WindowsParser`](https://docs.rs/icu/latest/icu/time/zone/windows/struct.WindowsParser.html) for more information. 14*/ 15 16 17export class WindowsParser { 18 19 get ffiValue(): pointer; 20 21 static createWithProvider(provider: DataProvider): WindowsParser; 22 23 parse(value: string, region: string): TimeZone | null; 24 25 constructor(); 26}