Details
-
Bug
-
Resolution: Not an Issue
-
P4
-
None
-
None
-
None
Description
"Juil." is seen on: (https://web.library.yale.edu/cataloging/months)
java version "1.8.0_20" gives:
juil.
openjdk version "18" 2022-03-22 gives:
juill.
import java.util.Calendar;
import java.util.Locale;
public class TestMonth {
public static void main(String[] args) {
Calendar calendar = Calendar.getInstance();
calendar.set(2012, Calendar.JULY, 12,0,0,0);
Locale locale = Locale.CANADA_FRENCH;
String name = calendar.getDisplayName(Calendar.MONTH, Calendar.SHORT, locale);
System.out.println(name);
}
}
java version "1.8.0_20" gives:
juil.
openjdk version "18" 2022-03-22 gives:
juill.
import java.util.Calendar;
import java.util.Locale;
public class TestMonth {
public static void main(String[] args) {
Calendar calendar = Calendar.getInstance();
calendar.set(2012, Calendar.JULY, 12,0,0,0);
Locale locale = Locale.CANADA_FRENCH;
String name = calendar.getDisplayName(Calendar.MONTH, Calendar.SHORT, locale);
System.out.println(name);
}
}