Skip to main content

java.util.Locale

class java.util.Locale extends java.lang.Object, java.lang.Cloneable, java.io.Serializable

Method Inventory

Parameters

parameter CANADA = en_CA;
parameter CANADAuFRENCH = fr_CA;
parameter CHINA = zh_CN;
parameter CHINESE = zh;
parameter ENGLISH = en;
parameter FRANCE = fr_FR;
parameter FRENCH = fr;
parameter GERMAN = de;
parameter GERMANY = de_DE;
parameter IMPORTTIMESTAMP = 1969-12-31 16:00:00.0;
parameter ITALIAN = it;
parameter ITALY = it_IT;
parameter JAPAN = ja_JP;
parameter JAPANESE = ja;
parameter KOREA = ko_KR;
parameter KOREAN = ko;
parameter PRC = zh_CN;
parameter PRIVATEuUSEuEXTENSION = x;
parameter ROOT = null;
parameter SIMPLIFIEDuCHINESE = zh_CN;
parameter TAIWAN = zh_TW;
parameter TRADITIONALuCHINESE = zh_TW;
parameter UK = en_GB;
parameter UNICODEuLOCALEuEXTENSION = u;
parameter US = en_US;

Methods

method %OnNew(ByRef p0 As %ObjectHandle, ByRef p1 As %ObjectHandle, ByRef p2 As %ObjectHandle, ByRef p3 As %ObjectHandle) as %Status
Inherited description: This callback method is invoked by the %New() method to provide notification that a new instance of an object is being created.

If this method returns an error then the object will not be created.

It is passed the arguments provided in the %New call. When customizing this method, override the arguments with whatever variables and types you expect to receive from %New(). For example, if you're going to call %New, passing 2 arguments, %OnNew's signature could be:

Method %OnNew(dob as %Date = "", name as %Name = "") as %Status If instead of returning a %Status code this returns an oref and this oref is a subclass of the current class then this oref will be the one returned to the caller of %New method.

method clone() as %ObjectHandle
method equals(ByRef p0 As %ObjectHandle) as %ObjectHandle
classmethod filter(ByRef p0 As %ObjectHandle, ByRef p1 As %ObjectHandle, ByRef p2 As %ObjectHandle, ByRef p3 As %ObjectHandle) as %ObjectHandle
classmethod filterTags(ByRef p0 As %ObjectHandle, ByRef p1 As %ObjectHandle, ByRef p2 As %ObjectHandle, ByRef p3 As %ObjectHandle) as %ObjectHandle
classmethod forLanguageTag(ByRef p0 As %ObjectHandle, ByRef p1 As %ObjectHandle) as %ObjectHandle
classmethod getAvailableLocales(ByRef p0 As %ObjectHandle) as %ObjectHandle
method getCountry() as %ObjectHandle
classmethod getDefault(ByRef p0 As %ObjectHandle, ByRef p1 As %ObjectHandle) as %ObjectHandle
method getDisplayCountry(ByRef p0 As %ObjectHandle) as %ObjectHandle
method getDisplayLanguage(ByRef p0 As %ObjectHandle) as %ObjectHandle
method getDisplayName(ByRef p0 As %ObjectHandle) as %ObjectHandle
method getDisplayScript(ByRef p0 As %ObjectHandle) as %ObjectHandle
method getDisplayVariant(ByRef p0 As %ObjectHandle) as %ObjectHandle
method getExtension(ByRef p0 As %ObjectHandle) as %ObjectHandle
method getExtensionKeys() as %ObjectHandle
method getISO3Country() as %ObjectHandle
method getISO3Language() as %ObjectHandle
classmethod getISOCountries(ByRef p0 As %ObjectHandle) as %ObjectHandle
classmethod getISOLanguages(ByRef p0 As %ObjectHandle) as %ObjectHandle
method getLanguage() as %ObjectHandle
method getScript() as %ObjectHandle
method getUnicodeLocaleAttributes() as %ObjectHandle
method getUnicodeLocaleKeys() as %ObjectHandle
method getUnicodeLocaleType(ByRef p0 As %ObjectHandle) as %ObjectHandle
method getVariant() as %ObjectHandle
method hasExtensions() as %ObjectHandle
method hashCode() as %ObjectHandle
classmethod lookup(ByRef p0 As %ObjectHandle, ByRef p1 As %ObjectHandle, ByRef p2 As %ObjectHandle) as %ObjectHandle
classmethod lookupTag(ByRef p0 As %ObjectHandle, ByRef p1 As %ObjectHandle, ByRef p2 As %ObjectHandle) as %ObjectHandle
classmethod setDefault(ByRef p0 As %ObjectHandle, ByRef p1 As %ObjectHandle, ByRef p2 As %ObjectHandle)
method stripExtensions() as %ObjectHandle
method toLanguageTag() as %ObjectHandle
method toString() as %ObjectHandle

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab