// generated by diplomat-tool import type { DataProvider } from "./DataProvider" import type { DateTimeFormatterLoadError } from "./DateTimeFormatterLoadError" import type { DateTimeWriteError } from "./DateTimeWriteError" import type { Locale } from "./Locale" import type { TimeZoneInfo } from "./TimeZoneInfo" import type { pointer, codepoint } from "./diplomat-runtime.d.ts";
/** *Seethe[Rustdocumentationfor`NoCalendarFormatter`](https://docs.rs/icu/2.1.1/icu/datetime/type.NoCalendarFormatter.html) for more information.
*/
export class TimeZoneFormatter { /** @internal */
get ffiValue(): pointer; /** @internal */
constructor();
/** *Createsazonedformatterbasedonanon-zonedformatter. * *Caution:Thelocaleprovidedheremustmatchthelocaleusedtoconstructthenon-zonedformatter, *orelseunexpectedbehaviormayoccur! * *Seethe[Rustdocumentationfor`SpecificLong`](https://docs.rs/icu/2.1.1/icu/datetime/fieldsets/zone/struct.SpecificLong.html) for more information.
*/ static createSpecificLong(locale: Locale): TimeZoneFormatter;
/** *Createsazonedformatterbasedonanon-zonedformatter. * *Caution:Thelocaleprovidedheremustmatchthelocaleusedtoconstructthenon-zonedformatter, *orelseunexpectedbehaviormayoccur! * *Seethe[Rustdocumentationfor`SpecificLong`](https://docs.rs/icu/2.1.1/icu/datetime/fieldsets/zone/struct.SpecificLong.html) for more information.
*/ static createSpecificLongWithProvider(provider: DataProvider, locale: Locale): TimeZoneFormatter;
/** *Createsazonedformatterbasedonanon-zonedformatter. * *Caution:Thelocaleprovidedheremustmatchthelocaleusedtoconstructthenon-zonedformatter, *orelseunexpectedbehaviormayoccur! * *Seethe[Rustdocumentationfor`SpecificShort`](https://docs.rs/icu/2.1.1/icu/datetime/fieldsets/zone/struct.SpecificShort.html) for more information.
*/ static createSpecificShort(locale: Locale): TimeZoneFormatter;
/** *Createsazonedformatterbasedonanon-zonedformatter. * *Caution:Thelocaleprovidedheremustmatchthelocaleusedtoconstructthenon-zonedformatter, *orelseunexpectedbehaviormayoccur! * *Seethe[Rustdocumentationfor`SpecificShort`](https://docs.rs/icu/2.1.1/icu/datetime/fieldsets/zone/struct.SpecificShort.html) for more information.
*/ static createSpecificShortWithProvider(provider: DataProvider, locale: Locale): TimeZoneFormatter;
/** *Createsazonedformatterbasedonanon-zonedformatter. * *Caution:Thelocaleprovidedheremustmatchthelocaleusedtoconstructthenon-zonedformatter, *orelseunexpectedbehaviormayoccur! * *Seethe[Rustdocumentationfor`LocalizedOffsetLong`](https://docs.rs/icu/2.1.1/icu/datetime/fieldsets/zone/struct.LocalizedOffsetLong.html) for more information.
*/ static createLocalizedOffsetLong(locale: Locale): TimeZoneFormatter;
/** *Createsazonedformatterbasedonanon-zonedformatter. * *Caution:Thelocaleprovidedheremustmatchthelocaleusedtoconstructthenon-zonedformatter, *orelseunexpectedbehaviormayoccur! * *Seethe[Rustdocumentationfor`LocalizedOffsetLong`](https://docs.rs/icu/2.1.1/icu/datetime/fieldsets/zone/struct.LocalizedOffsetLong.html) for more information.
*/ static createLocalizedOffsetLongWithProvider(provider: DataProvider, locale: Locale): TimeZoneFormatter;
/** *Createsazonedformatterbasedonanon-zonedformatter. * *Caution:Thelocaleprovidedheremustmatchthelocaleusedtoconstructthenon-zonedformatter, *orelseunexpectedbehaviormayoccur! * *Seethe[Rustdocumentationfor`LocalizedOffsetShort`](https://docs.rs/icu/2.1.1/icu/datetime/fieldsets/zone/struct.LocalizedOffsetShort.html) for more information.
*/ static createLocalizedOffsetShort(locale: Locale): TimeZoneFormatter;
/** *Createsazonedformatterbasedonanon-zonedformatter. * *Caution:Thelocaleprovidedheremustmatchthelocaleusedtoconstructthenon-zonedformatter, *orelseunexpectedbehaviormayoccur! * *Seethe[Rustdocumentationfor`LocalizedOffsetShort`](https://docs.rs/icu/2.1.1/icu/datetime/fieldsets/zone/struct.LocalizedOffsetShort.html) for more information.
*/ static createLocalizedOffsetShortWithProvider(provider: DataProvider, locale: Locale): TimeZoneFormatter;
/** *Createsazonedformatterbasedonanon-zonedformatter. * *Caution:Thelocaleprovidedheremustmatchthelocaleusedtoconstructthenon-zonedformatter, *orelseunexpectedbehaviormayoccur! * *Seethe[Rustdocumentationfor`GenericLong`](https://docs.rs/icu/2.1.1/icu/datetime/fieldsets/zone/struct.GenericLong.html) for more information.
*/ static createGenericLong(locale: Locale): TimeZoneFormatter;
/** *Createsazonedformatterbasedonanon-zonedformatter. * *Caution:Thelocaleprovidedheremustmatchthelocaleusedtoconstructthenon-zonedformatter, *orelseunexpectedbehaviormayoccur! * *Seethe[Rustdocumentationfor`GenericLong`](https://docs.rs/icu/2.1.1/icu/datetime/fieldsets/zone/struct.GenericLong.html) for more information.
*/ static createGenericLongWithProvider(provider: DataProvider, locale: Locale): TimeZoneFormatter;
/** *Createsazonedformatterbasedonanon-zonedformatter. * *Caution:Thelocaleprovidedheremustmatchthelocaleusedtoconstructthenon-zonedformatter, *orelseunexpectedbehaviormayoccur! * *Seethe[Rustdocumentationfor`GenericShort`](https://docs.rs/icu/2.1.1/icu/datetime/fieldsets/zone/struct.GenericShort.html) for more information.
*/ static createGenericShort(locale: Locale): TimeZoneFormatter;
/** *Createsazonedformatterbasedonanon-zonedformatter. * *Caution:Thelocaleprovidedheremustmatchthelocaleusedtoconstructthenon-zonedformatter, *orelseunexpectedbehaviormayoccur! * *Seethe[Rustdocumentationfor`GenericShort`](https://docs.rs/icu/2.1.1/icu/datetime/fieldsets/zone/struct.GenericShort.html) for more information.
*/ static createGenericShortWithProvider(provider: DataProvider, locale: Locale): TimeZoneFormatter;
/** *Createsazonedformatterbasedonanon-zonedformatter. * *Caution:Thelocaleprovidedheremustmatchthelocaleusedtoconstructthenon-zonedformatter, *orelseunexpectedbehaviormayoccur! * *Seethe[Rustdocumentationfor`Location`](https://docs.rs/icu/2.1.1/icu/datetime/fieldsets/zone/struct.Location.html) for more information.
*/ static createLocation(locale: Locale): TimeZoneFormatter;
/** *Createsazonedformatterbasedonanon-zonedformatter. * *Caution:Thelocaleprovidedheremustmatchthelocaleusedtoconstructthenon-zonedformatter, *orelseunexpectedbehaviormayoccur! * *Seethe[Rustdocumentationfor`Location`](https://docs.rs/icu/2.1.1/icu/datetime/fieldsets/zone/struct.Location.html) for more information.
*/ static createLocationWithProvider(provider: DataProvider, locale: Locale): TimeZoneFormatter;
/** *Createsazonedformatterbasedonanon-zonedformatter. * *Caution:Thelocaleprovidedheremustmatchthelocaleusedtoconstructthenon-zonedformatter, *orelseunexpectedbehaviormayoccur! * *Seethe[Rustdocumentationfor`ExemplarCity`](https://docs.rs/icu/2.1.1/icu/datetime/fieldsets/zone/struct.ExemplarCity.html) for more information.
*/ static createExemplarCity(locale: Locale): TimeZoneFormatter;
/** *Createsazonedformatterbasedonanon-zonedformatter. * *Caution:Thelocaleprovidedheremustmatchthelocaleusedtoconstructthenon-zonedformatter, *orelseunexpectedbehaviormayoccur! * *Seethe[Rustdocumentationfor`ExemplarCity`](https://docs.rs/icu/2.1.1/icu/datetime/fieldsets/zone/struct.ExemplarCity.html) for more information.
*/ static createExemplarCityWithProvider(provider: DataProvider, locale: Locale): TimeZoneFormatter;
/** *Seethe[Rustdocumentationfor`format`](https://docs.rs/icu/2.1.1/icu/datetime/struct.FixedCalendarDateTimeFormatter.html#method.format) for more information.
*/
format(zone: TimeZoneInfo): string;
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.