Package com._1c.g5.v8.dt.platform
Class DefaultLocaleLanguage
- java.lang.Object
-
- com._1c.g5.v8.dt.platform.DefaultLocaleLanguage
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Language
createDefaultLanguage()
static Language
getDefaultLanguage()
static ScriptVariant
getDefaultScriptVariant()
Returns defaultScriptVariant
to use based on current JVMLocale
.
-
-
-
Method Detail
-
getDefaultScriptVariant
public static ScriptVariant getDefaultScriptVariant()
Returns defaultScriptVariant
to use based on current JVMLocale
.- Returns:
- the default
ScriptVariant
to use, cannot benull
-
getDefaultLanguage
public static Language getDefaultLanguage()
Returns application shared defaultLanguage
to use based on current JVMLocale
.This instance is shared among the entire application and must not be attached to any configuration. To attach default language to the configuration client may use
createDefaultLanguage()
method.- Returns:
- the default
Language
to use, cannot benull
-
-