[
https://issues.apache.org/jira/browse/LANG-486?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12733049#action_12733049
]
Henri Yandell commented on LANG-486:
------------------------------------
Poorly explained on my part. Sorry (and you're right, it would be
parseDateNonLeniently).
We prefer explicitly named methods to boolean parameters in the public API, so
the change needed is to make parseDate(String, String[], boolean) private and
add a parseDateNonLeniently.
More importantly - needs unit tests.
> Add (non-)lenient date parsing
> ------------------------------
>
> Key: LANG-486
> URL: https://issues.apache.org/jira/browse/LANG-486
> Project: Commons Lang
> Issue Type: Improvement
> Affects Versions: 2.4
> Reporter: Michael Osipov
> Fix For: 3.0
>
> Attachments: LANG-486.patch
>
>
> I use a lot the DateUtils#parseDate method and it's very handy. It lacks
> leniency handling. I patched a solution against 2.4
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.