- Author
- Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g
Definition at line 32 of file Currencies.java.
◆ getAvailable()
static List<Currency> org.turro.zkoss.locale.Currencies.getAvailable |
( |
| ) |
|
|
static |
Definition at line 34 of file Currencies.java.
35 List<Currency> list =
new ArrayList<Currency>();
36 for(Locale l : Locale.getAvailableLocales()) {
38 Currency c = Currency.getInstance(l);
39 if(!list.contains(c)) {
static boolean hasValidCountry(Locale l)
◆ getDefault() [1/2]
static Currency org.turro.zkoss.locale.Currencies.getDefault |
( |
| ) |
|
|
static |
Definition at line 47 of file Currencies.java.
48 Currency c =
getDefault(Application.getUsedLocale());
49 return c ==
null ? Currency.getInstance(
"EUR") : c;
static Currency getDefault()
◆ getDefault() [2/2]
static Currency org.turro.zkoss.locale.Currencies.getDefault |
( |
Locale |
l | ) |
|
|
static |
◆ hasValidCountry()
static boolean org.turro.zkoss.locale.Currencies.hasValidCountry |
( |
Locale |
l | ) |
|
|
static |
Definition at line 59 of file Currencies.java.
61 return !Strings.isBlank(l.getISO3Country());
62 }
catch(MissingResourceException mre) {
The documentation for this class was generated from the following file: