8019185: Inconsistency between JapaneseEra start dates and java.util.JapaneseImperialDate
authorrriggs
Fri, 16 Aug 2013 13:58:43 -0400
changeset 19427 5be308124a22
parent 19426 daf0425c0ca6
child 19428 83f87aff7b07
8019185: Inconsistency between JapaneseEra start dates and java.util.JapaneseImperialDate Summary: align Meiji start date with lib/calendar.properties to avoid any confusion Reviewed-by: sherman
jdk/src/share/classes/java/time/chrono/JapaneseEra.java
--- a/jdk/src/share/classes/java/time/chrono/JapaneseEra.java	Fri Aug 16 11:11:00 2013 -0400
+++ b/jdk/src/share/classes/java/time/chrono/JapaneseEra.java	Fri Aug 16 13:58:43 2013 -0400
@@ -107,7 +107,7 @@
      * The singleton instance for the 'Meiji' era (1868-09-08 - 1912-07-29)
      * which has the value -1.
      */
-    public static final JapaneseEra MEIJI = new JapaneseEra(-1, LocalDate.of(1868, 9, 8));
+    public static final JapaneseEra MEIJI = new JapaneseEra(-1, LocalDate.of(1868, 1, 1));
     /**
      * The singleton instance for the 'Taisho' era (1912-07-30 - 1926-12-24)
      * which has the value 0.