-
Type:
Bug
-
Resolution: Not an Issue
-
Priority:
P4
-
None
-
Affects Version/s: 11.0.2
-
Component/s: core-libs
-
None
System.out.println(
new SimpleDateFormat("Gy-M-d", new Locale("ja","JP","JP")).format(
new Calendar.Builder().setDate(2019,Calendar.MAY,1).build().getTime()))
Expected Result: 元号1-5-1
Actual Result: N1-5-1
new SimpleDateFormat("Gy-M-d", new Locale("ja","JP","JP")).format(
new Calendar.Builder().setDate(2019,Calendar.MAY,1).build().getTime()))
Expected Result: 元号1-5-1
Actual Result: N1-5-1
- duplicates
-
JDK-8217609 New era placeholder not recognized by java.text.SimpleDateFormat
-
- Closed
-
- relates to
-
JDK-8202088 Japanese new era implementation
-
- Resolved
-
-
JDK-8217609 New era placeholder not recognized by java.text.SimpleDateFormat
-
- Closed
-