LocaleList
@Immutable class LocaleList : Collection<Locale>
Defines a list of Locale objects.
Summary
Public constructors |
Create a LocaleList object from comma separated language tags.
|
Creates a LocaleList object from a list of Locales.
|
Defines a list of Locale objects.
|
Companion properties |
LocaleList |
Returns Locale object which represents current locale
|
Public constructors
<init>
LocaleList(languageTags: String)
Create a LocaleList object from comma separated language tags.
Parameters |
languageTags: String |
A comma separated IETF BCP47
compliant language tag. |
Public methods
hashCode
fun hashCode(): Int
toString
fun toString(): String
Properties
Companion properties
current
val current: LocaleList
Returns Locale object which represents current locale