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 Languagestatic Languagestatic ScriptVariantReturns defaultScriptVariantto use based on current JVMLocale.
-
Method Details
-
getDefaultScriptVariant
Returns defaultScriptVariantto use based on current JVMLocale.- Returns:
- the default
ScriptVariantto use, cannot benull
-
getDefaultLanguage
Returns application shared defaultLanguageto 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
Languageto use, cannot benull
-
createDefaultLanguage
-