changeset 7903:acaa256e3f7c

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 d7fc4e149bb8
children 9e9f5713b26d
files src/share/classes/java/time/chrono/JapaneseEra.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/java/time/chrono/JapaneseEra.java	Fri Aug 16 11:11:00 2013 -0400
+++ b/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.