Package com._1c.g5.v8.dt.platform
Class DefaultLocaleLanguage
java.lang.Object
com._1c.g5.v8.dt.platform.DefaultLocaleLanguage
Utility methods to get current
Locale
dependent default language and script variant settings.- Restriction:
- This class is not intended to be sub-classed by clients.
- Restriction:
- This class is not intended to be instantiated by clients.
-
Method Summary
Modifier and TypeMethodDescriptionstatic Language
static Language
static ScriptVariant
Returns defaultScriptVariant
to use based on current JVMLocale
.
-
Method Details
-
getDefaultScriptVariant
Returns defaultScriptVariant
to use based on current JVMLocale
.- Returns:
- the default
ScriptVariant
to use, cannot benull
-
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
-
createDefaultLanguage
-