Java tutorial
import java.text.SimpleDateFormat; import java.util.Locale; public class Main { static public void main(String[] args) { Locale list[] = SimpleDateFormat.getAvailableLocales(); for (int i = 0; i < list.length; i++) { System.out.println(list[i].toString()); } for (int i = 0; i < list.length; i++) { System.out.println(list[i].getDisplayName()); } for (int i = 0; i < list.length; i++) { System.out.println(list[i].getDisplayName(Locale.FRANCE)); } } }