I would like to get all possible available currencies.
Java 7 had provided such feature.
public static Set java.util.Currency.g
I am using the Currency java class but I was not able to find the Currency of Afghanistan (AFN), so I was not sure if I could rely on this Currency Library
. To fix this I am using the joda-money
library.
So I put in my pom.xml
this:
And in my code I use this:
List
to get all Currencies, and the AFN was there so I am using this library now.
I hope it can help.