Unable to Parse a date of format d MMMM yyyy in Polish Locale in Java
问题 I tried to parse the date (3 December, 2020) with format d MMMM yyyy in Polish Locale but it is unable to parse. But why the same parsing is working fine in any other locale like english, etc. Below is the code sample which is not working. Can anyone please help on this ? Locale loc = new Locale("pl", "PL"); String date = "3 December 2020"; SimpleDateFormat sdFormat = new SimpleDateFormat("d MMMM yyyy", loc); sdFormat.setLenient(false); try { Date d = sdFormat.parse(date); System.out.println