W3cubDocs

/Haxe Java

Locale

package java.util

implements Cloneable, Serializable

@:final@:libType@:javaNative@:native("java.util.Locale")@:javaCanonical("java.util","Locale") Available on java

Constructor

@:overload new (param1:String)

@:overload new (param1:String, param2:String, param3:String)

@:overload new (param1:String, param2:String)

Methods

@:overload clone ():Dynamic

@:overload equals (param1:Dynamic):Bool

@:overload getCountry ():String

@:overload getDisplayCountry (param1:Locale):String

@:overload @:final getDisplayCountry ():String

@:overload getDisplayLanguage (param1:Locale):String

@:overload @:final getDisplayLanguage ():String

@:overload getDisplayName (param1:Locale):String

@:overload @:final getDisplayName ():String

@:overload getDisplayScript (param1:Locale):String

@:overload getDisplayScript ():String

@:overload getDisplayVariant (param1:Locale):String

@:overload @:final getDisplayVariant ():String

@:overload getExtension (param1:Char16):String

@:overload getExtensionKeys ():Set<Character>

@:overload @:throws("java.util.MissingResourceException") getISO3Country ():String

@:overload @:throws("java.util.MissingResourceException") getISO3Language ():String

@:overload getLanguage ():String

@:overload getScript ():String

@:overload getUnicodeLocaleAttributes ():Set<String>

@:overload getUnicodeLocaleKeys ():Set<String>

@:overload getUnicodeLocaleType (param1:String):String

@:overload getVariant ():String

@:overload hashCode ():Int

@:overload toLanguageTag ():String

@:overload @:final toString ():String

Static variables

@:final static CANADA:Locale

@:final static CANADA_FRENCH:Locale

@:final static CHINA:Locale

@:final static CHINESE:Locale

@:final static ENGLISH:Locale

@:final static FRANCE:Locale

@:final static FRENCH:Locale

@:final static GERMAN:Locale

@:final static GERMANY:Locale

@:final static ITALIAN:Locale

@:final static ITALY:Locale

@:final static JAPAN:Locale

@:final static JAPANESE:Locale

@:final static KOREA:Locale

@:final static KOREAN:Locale

@:final static PRC:Locale

@:final static read only PRIVATE_USE_EXTENSION:Char16

@:final static ROOT:Locale

@:final static SIMPLIFIED_CHINESE:Locale

@:final static TAIWAN:Locale

@:final static TRADITIONAL_CHINESE:Locale

@:final static UK:Locale

@:final static read only UNICODE_LOCALE_EXTENSION:Char16

@:final static US:Locale

Static methods

@:overload static forLanguageTag (param1:String):Locale

@:overload static getAvailableLocales ():NativeArray<Locale>

@:overload static getDefault (param1:Locale_Category):Locale

@:overload static getDefault ():Locale

@:overload static getISOCountries ():NativeArray<String>

@:overload static getISOLanguages ():NativeArray<String>

@:overload static setDefault (param1:Locale_Category, param2:Locale):Void

@:overload static setDefault (param1:Locale):Void

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/java/util/Locale.html