Inconsistency between JapaneseEra start dates and java.util.JapaneseImperialDate

XMLWordPrintable

    • 8
    • b105
    • Verified

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

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

              Created:
              Updated:
              Resolved: