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