changeset 19427:5be308124a22

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
author rriggs
date Fri, 16 Aug 2013 13:58:43 -0400
parents daf0425c0ca6
children 83f87aff7b07
files jdk/src/share/classes/java/time/chrono/JapaneseEra.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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.