commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Charles Honton (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LANG-462) FastDateFormat supports parse
Date Thu, 12 Jan 2012 17:37:39 GMT

    [ https://issues.apache.org/jira/browse/LANG-462?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13185089#comment-13185089
] 

Charles Honton commented on LANG-462:
-------------------------------------

The reason to keep separate would be to prevent code clutter.  Also, if you only want parse
or only want format, why pay the price of initializing the other portion of code.  I was thinking
of creating a new class, FastDatePrinter, which contains the current FastDateFormat code.
 Then, fill FastDateFormat with delegation to the FastDatePrinter and FastDateParser classes.

                
> FastDateFormat supports parse
> -----------------------------
>
>                 Key: LANG-462
>                 URL: https://issues.apache.org/jira/browse/LANG-462
>             Project: Commons Lang
>          Issue Type: New Feature
>          Components: lang.time.*
>            Reporter: Franz Wong
>             Fix For: 3.x
>
>         Attachments: DateParser.patch, LANG-462-FormatCache.patch, LANG-462-Hen.patch,
UseFormatCache.patch, lang462.patch, with_updated_tests.patch
>
>
> Currently FastDateFormat only supports formatting the ISO8601 time zone, however, it
doesn't support parsing such string to Date.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message