[jira] [Commented] (LANG-462) FastDateFormat supports parse
[ 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 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
[jira] [Commented] (LANG-462) FastDateFormat supports parse
[ 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