Constructors
Accessors
basename
- get basename(): string
Returns string
ffiValue
- get ffiValue(): number
Returns number
language
- get language(): string
Returns string
- set language(s): void
Returns void
region
- get region(): string
Returns string
- set region(s): void
Returns void
script
- get script(): string
Returns string
- set script(s): void
Returns void
Methods
clone
- clone(): Locale
compareTo
- compareTo(other): number
Returns number
compareToString
- compareToString(other): number
Returns number
getUnicodeExtension
- getUnicodeExtension(s): string
Returns string
normalizingEq
- normalizingEq(other): boolean
Returns boolean
toString
- toString(): string
Returns string
Static
fromString
- fromString(name): Locale
Static
normalize
- normalize(s): string
Returns string
Static
und
- und(): Locale
An ICU4X Locale, capable of representing strings like
"en-US"
.See the Rust documentation for
Locale
for more information.