I'd need to get the full country name from the country code.
For example for Netherlands, I'd need the Netherlands
from the country code NL
.
I thought I could do that with Locale
like:
Locale loc = new Locale("NL");
loc.getCountry();
but loc.getCountry();
is empty.
How can I do this?
Locale loc = new Locale("","NL");
loc.getDisplayCountry();
import java.util.Locale
Locale("", "NL").displayCountry