|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
Objectf_locale
public final class f_locale
| Field Summary | |
|---|---|
static Number |
LONG
Long form. |
static Number |
MEDIUM
Medium form. |
static Number |
SHORT
Short form. |
| Method Summary | |
|---|---|
static f_locale |
Get()
|
String |
f_formatMessage(String key,
any... params)
Format a JSF messages associated to a key. |
String |
f_formatMessageParams(String key,
any[] params,
String defaultValue)
Format a JSF messages associated to a key. |
String |
f_getCountry()
Returns the country/region code for this locale, which will either be the empty string or an upercase ISO 3166 2-letter code. |
String |
f_getDateFormat(Number form)
|
String |
f_getDayName(Number n,
Number form)
|
Number |
f_getFirstDayOfWeek()
|
String |
f_getLanguage()
Returns the language code for this locale, which will either be the empty string or a lowercase ISO 639 code. |
String |
f_getMessage(String key,
String defaultValue)
Returns a JSF messages associated to a key. |
String |
f_getMonthName(Number n,
Number form)
|
String |
f_getName()
Getter for the programmatic name of the entire locale, with the language, country and variant separated by underbars. |
Number |
f_getTwoDigitYearStart()
|
String |
f_getVariant()
Returns the variant code for this locale. |
| Methods inherited from class Object |
|---|
toString |
| Field Detail |
|---|
public static final Number SHORT
public static final Number MEDIUM
public static final Number LONG
| Method Detail |
|---|
public Number f_getFirstDayOfWeek()
public String f_getDateFormat(Number form)
form - Form of date (SHORT, MEDIUM, LONG)#LONG,
#SHORT,
#MEDIUMpublic String f_getVariant()
public Number f_getTwoDigitYearStart()
public String f_getCountry()
public String f_formatMessage(String key,
any... params)
key - params - f_resourceBundle#f_format
public String f_getDayName(Number n,
Number form)
n - Day number (0 to 6)form - Form of name (SHORT, MEDIUM, LONG)#LONG,
#SHORT,
#MEDIUM
public String f_getMonthName(Number n,
Number form)
n - Month number (0 to 11)form - Form of name (SHORT, MEDIUM, LONG)#LONG,
#SHORT,
#MEDIUMpublic String f_getName()
public String f_getMessage(String key,
String defaultValue)
key - defaultValue - f_resourceBundle#f_getpublic static final f_locale Get()
public String f_getLanguage()
public String f_formatMessageParams(String key,
any[] params,
String defaultValue)
key - params - defaultValue - f_resourceBundle#f_formatParams
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||