public class Language extends InitializeObject
| Modifier and Type | Field and Description |
|---|---|
static Language |
EN |
static String |
FORMAT_TIME |
static String |
FORMAT_TIME_24H |
static String |
FORMAT_TIME_24H_Z |
static String |
FORMAT_TIME_Z |
static String |
SYSTEM_PROP_LANGUAGE |
static Language |
VI |
mutex| Constructor and Description |
|---|
Language() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static Language |
getCurrent() |
String |
getDateFormat() |
String |
getDateTime24HFormat() |
String |
getDateTime24HZFormat() |
String |
getDateTimeFormat() |
String |
getDateTimeZFormat() |
String |
getDisplayLanguage() |
String |
getId() |
Locale |
getLocale() |
String |
getTime24HFormat() |
String |
getTime24HZFormat() |
String |
getTimeFormat() |
String |
getTimeZFormat() |
int |
hashCode() |
protected void |
init() |
static void |
setCurrent(Language obj) |
Language |
setDateFormat(String dateFormat) |
Language |
setLocale(Locale locale) |
assertNotInitialized, destroy, initializepublic static final String FORMAT_TIME_24H
public static final String FORMAT_TIME_24H_Z
public static final String FORMAT_TIME
public static final String FORMAT_TIME_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 getDateTimeZFormat()
public String getDateTime24HFormat()
public String getDateTime24HZFormat()
public String getTime24HFormat()
public String getTime24HZFormat()
public String getTimeFormat()
public String getTimeZFormat()
public static Language getCurrent()
public static void setCurrent(Language obj)
Copyright © 2017. All rights reserved.