I get an integer and I need to convert to a month names in various locales:
Example for locale en-us: 1 -> January 2 -> February
Example for locale e
public static void main(String[] args) { SimpleDateFormat format = new SimpleDateFormat("MMMMM", new Locale("en", "US")); System.out.println(format.format(new Date())); }