Package-level declarations
Properties
Link copied to clipboard
Property to access Locale.getCountry
Link copied to clipboard
Global instance to give access to the configuration
Link copied to clipboard
Property to access Locale.getLanguage
Link copied to clipboard
Creates a locale that is one step less specific than this locale.
Link copied to clipboard
Useful constant for the root locale.
Link copied to clipboard
Property to access Locale.getScript
Link copied to clipboard
The current locale of the system or user
Link copied to clipboard
Property to access Locale.getVariant
Functions
Link copied to clipboard
Link copied to clipboard
fun createDefaultLocaleImpl(language: String, script: String?, country: String?, variant: String?, extensions: Map<Char, String>?): DefaultLocaleImpl
Default implementation for createLocale for non JVM targets
Link copied to clipboard
Transforms a languageTag like "en_US_texas" to a Locale("en","US","texas")
Link copied to clipboard
Returns a name for the locale that is appropriate for display to the user in the language of the locale
Link copied to clipboard
Returns a copy of this (or this itself) Locale with no extensions.