public class Language extends InitializeObject
| Modifier and Type | Field and Description |
|---|---|
static Language |
EN |
static String |
SYSTEM_PROP_LANGUAGE |
static String |
TIME_FORMAT |
static String |
TIME_FORMAT_24H |
static String |
TIME_FORMAT_24H_Z |
static String |
TIME_FORMAT_Z |
static Language |
VI |
mutex| Constructor and Description |
|---|
Language() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static Language |
getCurrent() |
String |
getDateFormat() |
String |
getDateTimeFormat() |
String |
getDateTimeFormat24H() |
String |
getDateTimeFormat24HZ() |
String |
getDateTimeFormatZ() |
String |
getDisplayLanguage() |
String |
getId() |
Locale |
getLocale() |
String |
getTimeFormat() |
String |
getTimeFormat24H() |
String |
getTimeFormat24HZ() |
String |
getTimeFormatZ() |
int |
hashCode() |
protected void |
init() |
static void |
setCurrent(Language obj) |
Language |
setDateFormat(String dateFormat) |
Language |
setLocale(Locale locale) |
assertNotInitialized, destroy, initializepublic static final String TIME_FORMAT_24H
public static final String TIME_FORMAT_24H_Z
public static final String TIME_FORMAT
public static final String TIME_FORMAT_Z
public static final Language EN
public static final Language VI
public static final String SYSTEM_PROP_LANGUAGE
protected void init()
throws Exception
init in class InitializeObjectExceptionpublic String getId()
public String getDisplayLanguage()
public Locale getLocale()
public String getDateFormat()
public String getDateTimeFormat()
public String getDateTimeFormatZ()
public String getDateTimeFormat24H()
public String getDateTimeFormat24HZ()
public String getTimeFormat24H()
public String getTimeFormat24HZ()
public String getTimeFormat()
public String getTimeFormatZ()
public static Language getCurrent()
public static void setCurrent(Language obj)
Copyright © 2017. All rights reserved.