|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sibvisions.util.type.LocaleUtil
public final class LocaleUtil
The DateUtil is a utility class for date conversion and for formatting dates
as string.
| Method Summary | |
|---|---|
static Locale |
forLanguageTag(String pLanguageTag)
Get a locale parsing language, country and variant. |
static Locale |
getDefault()
Gets the default locale. |
static String |
getListSeparator()
Gets the list separator for the current locale. |
static String |
getListSeparator(Locale pLocale)
Gets the list separator for the given locale. |
static void |
setDefault(Locale pLocale)
Gets the default locale. |
static void |
setThreadDefault(Locale pLocale)
Gets the default locale. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Locale forLanguageTag(String pLanguageTag)
pLanguageTag - the language tag.
public static Locale getDefault()
public static void setDefault(Locale pLocale)
pLocale - the default locale.public static void setThreadDefault(Locale pLocale)
pLocale - the default locale.public static String getListSeparator()
; in Europe or , in USgetListSeparator(Locale)public static String getListSeparator(Locale pLocale)
pLocale - the locale to use
; in Europe or , in US
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||