The parsers in ISODateTimeFormat are lenient and don't require leading
zeros. If you want a strict parser, build one using
DateTimeFormatterBuilder.

On 8/20/07, Ryan Propper <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Why isn't this line:
>
> ISODateTimeFormat.dateTimeNoMillis().parseDateTime("2000-10-1T1:32:32Z");
>
> throwing an exception?  Note that the day of month and hour only have
> one digit, not two.
>
> Thanks,
>
> Ryan
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> _______________________________________________
> Joda-interest mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/joda-interest
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Joda-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/joda-interest

Reply via email to