BaseLocale

abstract class BaseLocale

An object representing a specific geographical, political, or cultural region.

Inheritors

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

The alternative Character(s) used for indicating the end of a quote

Link copied to clipboard

The alternative Character(s) used for indicating the start of a quote

Link copied to clipboard
abstract val countryCode: String

ISO 3166 alpha-2 country code or UN M.49 numeric-3 area code.

Link copied to clipboard
abstract val languageCode: String

ISO 639 alpha-2 or alpha-3 language code.

Link copied to clipboard
abstract val quotationEnd: String

The Character(s) used for indicating the end of a quote

Link copied to clipboard
abstract val quotationStart: String

The Character(s) used for indicating the start of a quote

Link copied to clipboard
abstract val scriptCode: String

ISO 15924 alpha-4 script code.

Link copied to clipboard
abstract val unitSystem: UnitSystem

Returns UnitSystem for the KalugaLocale.

Link copied to clipboard
abstract val variantCode: String

Any arbitrary value used to indicate a variation of a KalugaLocale. Where there are two or more variant values each indicating its own semantics, these values should be ordered by importance, with most important first, separated by underscore('_').

Functions

Link copied to clipboard
abstract fun countryName(forLocale: KalugaLocale): String

Gets the county name of the KalugaLocale, localized according to a given KalugaLocale

Link copied to clipboard
abstract fun languageName(forLocale: KalugaLocale): String

Gets the language name of the KalugaLocale, localized according to a given KalugaLocale

Link copied to clipboard
abstract fun name(forLocale: KalugaLocale): String

Gets the name of the KalugaLocale, localized according to a given KalugaLocale

Link copied to clipboard
abstract fun scriptName(forLocale: KalugaLocale): String

Gets the script name of the KalugaLocale, localized according to a given KalugaLocale

Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
abstract fun variantName(forLocale: KalugaLocale): String

Gets the variant name of the KalugaLocale, localized according to a given KalugaLocale