public class LocaleBean extends Object implements Serializable
Locales| Modifier and Type | Field and Description |
|---|---|
static String |
LOCALE_ATTR |
| Constructor and Description |
|---|
LocaleBean()
Standardkonstruktor
|
| Modifier and Type | Method and Description |
|---|---|
void |
changeCountryLocaleCode() |
String |
formatDate(Date date) |
String |
formatDateTime(Date date) |
String |
formatDateTimeSeconds(Date date) |
Map<String,String> |
getCountriesInMap()
Methode zum Ermitten der Liste der verfügbaren Laender
|
DateFormat |
getDateFormat() |
String |
getDatePattern() |
DateFormat |
getDateTimeFormat() |
String |
getDateTimePattern() |
DateFormat |
getDateTimeSecondsFormat() |
String |
getDateTimeSecondsPattern() |
String |
getINamedUiElementDisplayName(INamedUiElement element) |
Locale |
getLocale()
Methode zum Ermitteln des aktuellen Locale
|
String |
getLocaleCode()
Methode zum Ermitteln der Sprache der aktuellen
Locale |
void |
setLocaleCode(String localeCode)
Methode zum Setzen der
Locale anhand des Sprachkey |
public static String LOCALE_ATTR
public Locale getLocale()
Locale welches aktuell konfiguriert istpublic Map<String,String> getCountriesInMap()
public void setLocaleCode(String localeCode)
Locale anhand des SprachkeylocaleCode - String der Sprachkeypublic void changeCountryLocaleCode()
public String getDatePattern()
public String getDateTimePattern()
public String getDateTimeSecondsPattern()
public DateFormat getDateFormat()
public DateFormat getDateTimeFormat()
public DateFormat getDateTimeSecondsFormat()
public String getINamedUiElementDisplayName(INamedUiElement element)
Copyright © 2016. All rights reserved.