commons-issues mailing list archives

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

     [ https://issues.apache.org/jira/browse/LANG-828?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sebb resolved LANG-828.
-----------------------

       Resolution: Fixed
    Fix Version/s: 3.2
         Assignee:     (was: Sebb)

URL: http://svn.apache.org/viewvc?rev=1389976&view=rev
Log:
LANG-828 FastDateParser does not handle non-Gregorian calendars properly

Modified:
    commons/proper/lang/trunk/src/changes/changes.xml
    commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/time/FastDateParser.java
    commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/time/FastDateParserTest.java

                
> 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
>             Fix For: 3.2
>
>
> 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