Uploaded image for project: 'Commons Lang'
  1. Commons Lang
  2. LANG-828

FastDateParser does not handle non-Gregorian calendars properly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.1
    • 3.2
    • lang.time.*
    • None

    Description

      The following calendars are non-Gregorian [1]:

      ja_JP_JP - Japanese Imperial)
      th_TH (with any variant) - Thai Buddhist

      This causes errors when testing round-trip conversions.

      The simplest solution is to fall back to SimpleDateFormat for these calendars.

      [1] http://docs.oracle.com/javase/6/docs/technotes/guides/intl/calendar.doc.html

      Attachments

        Activity

          People

            Unassigned Unassigned
            sebb Sebb
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: