mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-18 16:29:51 +00:00
ParserUtils: add helper method to parse currency code
This commit is contained in:
parent
de2a0a614f
commit
fca02d58b3
3 changed files with 10 additions and 2 deletions
|
@ -3014,7 +3014,7 @@ public abstract class AbstractEfaProvider extends AbstractNetworkProvider {
|
|||
return Currency.getInstance("USD");
|
||||
if (currencyStr.equals("Dirham"))
|
||||
return Currency.getInstance("AED");
|
||||
return Currency.getInstance(currencyStr);
|
||||
return ParserUtils.getCurrency(currencyStr);
|
||||
}
|
||||
|
||||
private static final Pattern P_POSITION = Pattern.compile(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue