| // generated by diplomat-tool |
| import type { DataError } from "./DataError" |
| import type { DataProvider } from "./DataProvider" |
| import type { TimeZone } from "./TimeZone" |
| import type { pointer, codepoint } from "./diplomat-runtime.d.ts"; |
| |
| |
| /** A mapper between Windows time zone identifiers and BCP-47 time zone identifiers. |
| * |
| *This mapper supports two-way mapping, but it is optimized for the case of Windows to BCP-47. |
| *It also supports normalizing and canonicalizing the Windows strings. |
| * |
| *See the [Rust documentation for `WindowsParser`](https://docs.rs/icu/latest/icu/time/zone/windows/struct.WindowsParser.html) for more information. |
| */ |
| |
| |
| export class WindowsParser { |
| |
| get ffiValue(): pointer; |
| |
| static createWithProvider(provider: DataProvider): WindowsParser; |
| |
| parse(value: string, region: string): TimeZone | null; |
| |
| constructor(); |
| } |