Class Locale

An ICU4X Locale, capable of representing strings like "en-US".

See the Rust documentation for Locale for more information.

Constructors

Accessors

  • get basename(): string
  • Returns string

  • get ffiValue(): number
  • Returns number

  • get language(): string
  • Returns string

  • set language(s): void
  • Parameters

    • s: string

    Returns void

  • get region(): string
  • Returns string

  • set region(s): void
  • Parameters

    • s: string

    Returns void

  • get script(): string
  • Returns string

  • set script(s): void
  • Parameters

    • s: string

    Returns void

Methods

  • Parameters

    Returns number

  • Parameters

    • other: string

    Returns number

  • Parameters

    • s: string

    Returns string

  • Parameters

    • other: string

    Returns boolean

  • Returns string

  • Parameters

    • name: string

    Returns Locale

  • Parameters

    • s: string

    Returns string