commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] [Created] (LANG-828) FastDateParser does not handle non-Gregorian calendars properly
Date Tue, 25 Sep 2012 16:26:07 GMT
Sebb created LANG-828:
-------------------------

             Summary: FastDateParser does not handle non-Gregorian calendars properly
                 Key: LANG-828
                 URL: https://issues.apache.org/jira/browse/LANG-828
             Project: Commons Lang
          Issue Type: Bug
          Components: lang.time.*
    Affects Versions: 3.1
            Reporter: Sebb
            Assignee: Sebb


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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message