Java Currency API update issues
I have a requirement to get the currency code for a given country code,
and eventually passing that currency code to a third party service for
obtaining exchange rates.
We found an interesting problem where in the Zimbabwe's currency got
updated from ZWL to ZWD, whereas the Java 6 version still gives it as ZWL,
and so our currency conversion didn't work.
I know that Java 7 version has got it right, and also they offer a way to
override values in a 'currency.properties' file.
My question is : Is there a way/service to get the most accurate currency
code of a country given a country code. Basically I am thinking of a
solution that virtually eliminates the manual intervention of updating the
properties file etc.
Sorry for the long text; thanks for reading, and appreciate any inputs.
No comments:
Post a Comment