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 Wed, 25 Jan 2012 00:22:40 GMT

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

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

1. Methods "FastDateFormat$NumberRule selectNumberRule(int, int)" and "List<Rule> parsePattern()"
couldn't have been overridden because NumberRule and Rule were private to FastDateFormat.

2. Due to the factory pattern used, it's unlikely other two methods would have been overridden.

3. The four methods are highly implementation specific. I consider it a mistake that the methods
were exposed.
                
> 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_interfaces.patch, with_interfaces2.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