Quellcodebibliothek
Statistik
Leitseite
products
/
sources
/
formale Sprachen
/
C
/
Firefox
/
layout
/
reftests
/
counters
/ (
Open Source Betriebssystem
Version 6.17.9
©
) Datei vom 10.2.2025 mit Größe 924 B
Impressum ICU4XRegionDisplayNames.d.ts Sprache: unbekannt
import { FFIError } from "./diplomat-runtime"
import { ICU4XDataProvider } from "./ICU4XDataProvider";
import { ICU4XError } from "./ICU4XError";
import { ICU4XLocale } from "./ICU4XLocale";
/**
* See the {@link
https://docs.rs/icu/latest/icu/displaynames/struct.RegionDisplayNam
es.html
Rust documentation for `RegionDisplayNames`} for more information.
*/
export class ICU4XRegionDisplayNames {
/**
* Creates a new `RegionDisplayNames` from locale data and an options bag.
* See the {@link
https://docs.rs/icu/latest/icu/displaynames/struct.RegionDisplayNam
es.html#method.try_new
Rust documentation for `try_new`} for more information.
* @throws {@link FFIError}<{@link ICU4XError}>
*/
static create(provider: ICU4XDataProvider, locale: ICU4XLocale): ICU4XRegionDisplayNa
mes | never;
/**
* Returns the locale specific display name of a region. Note that the function returns an empty s
tring in case the display name for a given region code is not found.
* See the {@link
https://docs.rs/icu/latest/icu/displaynames/struct.RegionDisplayNam
es.html#method.of
Rust documentation for `of`} for more information.
* @throws {@link FFIError}<{@link ICU4XError}>
*/
of(region: string): string | never;
}
[ Seitenstruktur0.25Drucken etwas mehr zur Ethik
]
2026-04-04