Home
last modified time | relevance | path

Searched refs:CurrencyFilter (Results 1 – 4 of 4) sorted by relevance

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DCurrencyMetaInfo.java78 public static final class CurrencyFilter { class in CurrencyMetaInfo
111 … private CurrencyFilter(String region, String currency, long from, long to, boolean tenderOnly) { in CurrencyFilter() method in CurrencyMetaInfo.CurrencyFilter
120 private static final CurrencyFilter ALL = new CurrencyFilter(
128 public static CurrencyFilter all() { in all()
138 public static CurrencyFilter now() { in now()
149 public static CurrencyFilter onRegion(String region) { in onRegion()
160 public static CurrencyFilter onCurrency(String currency) { in onCurrency()
171 public static CurrencyFilter onDate(Date date) { in onDate()
185 public static CurrencyFilter onDateRange(Date from, Date to) { in onDateRange()
194 public static CurrencyFilter onDate(long date) { in onDate()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DCurrency.java32 import com.ibm.icu.text.CurrencyMetaInfo.CurrencyFilter;
187 CurrencyFilter filter = CurrencyFilter.onDate(d).withRegion(loc.getCountry()); in getAvailableCurrencyCodes()
224 List<String> list = info.currencies(CurrencyFilter.all()); in getAvailableCurrencies()
250 List<String> list = info.currencies(CurrencyFilter.onRegion(country)); in createCurrency()
420 CurrencyFilter filter = CurrencyFilter.now().withRegion(prefRegion); in getKeywordValuesForLocale()
877 CurrencyFilter filter = CurrencyFilter.all(); in getAllTenderCurrencies()
889 new HashSet<String>(info.currencies(CurrencyFilter.all()))); in getAllCurrenciesAsSet()
935 CurrencyFilter.onDateRange(from, to).withCurrency(code)); in isAvailable()
944 private static List<String> getTenderCurrencies(CurrencyFilter filter) { in getTenderCurrencies()
/external/icu/icu4j/main/classes/currdata/src/com/ibm/icu/impl/
DICUCurrencyMetaInfo.java34 public List<CurrencyInfo> currencyInfo(CurrencyFilter filter) { in currencyInfo()
39 public List<String> currencies(CurrencyFilter filter) { in currencies()
44 public List<String> regions(CurrencyFilter filter) { in regions()
69 private <T> List<T> collect(Collector<T> collector, CurrencyFilter filter) { in collect()
75 filter = CurrencyFilter.all(); in collect()
107 private <T> void collectRegion(Collector<T> collector, CurrencyFilter filter, in collectRegion()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DCurrencyTest.java27 import com.ibm.icu.text.CurrencyMetaInfo.CurrencyFilter;
340 CurrencyFilter filter = CurrencyFilter.onRegion("DE"); // must be capitalized in testCurrencyMetaInfoRanges()
393 CurrencyFilter filter = CurrencyFilter.onRegion("DE"); // must be capitalized in testCurrencyMetaInfoRangesWithLongs()
427 CurrencyMetaInfo.CurrencyFilter filter = in TestWithTender()
428 CurrencyMetaInfo.CurrencyFilter.onRegion("CH"); in TestWithTender()
450 CurrencyMetaInfo.CurrencyFilter filter; in TestCurrencyMetaInfo()
455 filter = CurrencyMetaInfo.CurrencyFilter.onCurrency("currency"); in TestCurrencyMetaInfo()
456 … CurrencyMetaInfo.CurrencyFilter filter2 = CurrencyMetaInfo.CurrencyFilter.onCurrency("test"); in TestCurrencyMetaInfo()