[
https://issues.apache.org/jira/browse/LANG-996?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14226149#comment-14226149
]
pishty agha commented on LANG-996:
----------------------------------
hello guys, is there a 3.4 snapshot jar where i can get this fix from, i have
looked for it but couldnt find it.
> FastDateFormat is case sensitive
> --------------------------------
>
> Key: LANG-996
> URL: https://issues.apache.org/jira/browse/LANG-996
> Project: Commons Lang
> Issue Type: Bug
> Components: lang.time.*
> Affects Versions: 3.3.2
> Reporter: David Rees
> Assignee: Charles Honton
> Fix For: 3.4
>
>
> It seems that {{FastDateFormat}} is case sensitive. But it claims to be
> mostly compatible with {{SimpleDateFormat}} which is not.
> For example, this throws a {{ParseException}}:
> {code:java}
> FastDateFormat.getInstance("dd-MMM-yyyy").parse("01-jan-2000");
> {code}
> But these do not:
> {code:java}
> SimpleDateFormat sdf = new SimpleDateFormat("dd-MMM-yyyy");
> sdf.parse("01-jan-2000");
> DateUtils.parse("01-jan-2000", "dd-MMM-yyyy");
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)