CurrencyQuery allows to specify several criteria eg. currency codes and countries eg. "USD" and "es_EC"
However javax.money.spi.CurrencyProviderSpi#getCurrencies(CurrencyQuery) does not specify what happens when multiple criteria are set. JDKCurrencyProvider currently behaves like this:
- If a currency code is specified search by currency code, otherwise
- If a country is specified search by country, otherwise
- If a numeric code is specified search by numeric code, otherwise
- return everything