Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8019185

Inconsistency between JapaneseEra start dates and java.util.JapaneseImperialDate

    XMLWordPrintable

Details

    • 8
    • b105
    • Verified

    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).

      Attachments

        Issue Links

          Activity

            People

              rriggs Roger Riggs
              rriggs Roger Riggs
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: