Package com._1c.g5.v8.dt.common
Class LocaleUtil
java.lang.Object
com._1c.g5.v8.dt.common.LocaleUtil
Locale utility methods.- Restriction:
- Clients are not allowed to extend a class or interface
-
Method Summary
Modifier and TypeMethodDescriptionstatic LocalecreateLocale(String localeAsString) Create locale from given string representation (seeLocale.toString()).static booleanisRtlLanguage(String languageCode) Determines whether the editing language is RTL-based or not.
-
Method Details
-
createLocale
Create locale from given string representation (seeLocale.toString()).- Parameters:
localeAsString- string-represented locale.- Returns:
- created locale, never
null
-
isRtlLanguage
Determines whether the editing language is RTL-based or not.- Parameters:
languageCode- the language code of the configuration editing language, can benull- Returns:
trueif editing language is RTL-based
-