< prev index next >

src/share/classes/sun/text/resources/FormatData_ja.java

Print this page
rev 8819 : 8202088: Japanese new era implementation
8207152: Placeholder for Japanese new era should be two characters
8206120: Add test cases for lenient Japanese era parsing
Reviewed-by: coffeys, naoto
Contributed-by: deepak.kejriwal@oracle.com

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 1996, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1996, 2019, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.  Oracle designates this

@@ -127,10 +127,11 @@
                     "\u897f\u66a6",     // Seireki (Gregorian)
                     "\u660e\u6cbb",     // Meiji
                     "\u5927\u6b63",     // Taisho
                     "\u662d\u548c",     // Showa
                     "\u5e73\u6210",     // Heisei
+                    "\u5143\u53f7",     // NewEra
                 }
             },
             { "java.util.JapaneseImperialCalendar.FirstYear",
                 new String[] {  // first year name
                     "\u5143",   // "Gan"-nen
< prev index next >