On 10/25/07, Narahari 'n' Savitha <[EMAIL PROTECTED]> wrote:
> Friends,
>
> This might have been asked before but I am unable to find a searchable
> archive for the LANG.
>
> Here it is.
>
> In the Example 1. which uses the DateUtisl.parseDate method the date I am
> providing is 14/32/2007. This is an invalid date but since the parseDate
> method uses a LENIENT SimpleDateFormat  object the dates are being parsed as
> valid.  This is not something that will help me.  I would rather, this throw
> a ParseException.
>
> Could we add a method called parseDateStrict or provide a setter/getter to
> set the strict attribute so that can in turn set the attribute on the
> SimpleDateFormat method ?

Off the bat, I don't see any reason why not.

Could you add an issue to JIRA requesting this improvement?

http://issues.apache.org/jira/browse/LANG

Thanks,

Hen

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to