JDK-8019185 : Inconsistency between JapaneseEra start dates and java.util.JapaneseImperialDate
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.time
  • Affected Version: 8
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2013-06-26
  • Updated: 2014-07-30
  • Resolved: 2013-08-16
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8
8 b105Fixed
Related Reports
Relates :  
Relates :  
Description
The JapaneseEra class defines the 4 pre-existing Eras with a defined start date.
These dates are used for *some* of the methods that map dates to eras JapaneseEra.from(localdate).
But other methods, JapaneseDate.ofYearDay(Era, yoe, dayOfYear) go directly to the java.util.JapaneseImprerialCalendar.
But the hard coded start dates do not match the start dates configured in lib/calendar.properties.

This occurs in JapaneseEra.MEIJI  (Sept 8 vs Jan 1).
Comments
The update affects documentation (along with JDK-8023556); The source level change is not visible in the API since dates before MEIJI 6 are not supported.
09-09-2013