iso 8601 date format

Hello,

After reading several post about iso 8601 date format,( like this one http://www.w3.org/TR/NOTE-datetime for example), I think that it could be easier to parse iso 8601 date if we could use both "strict standard" and short format.

We could parse format according this: 
[yyyy-MM-dd|yyyyMMdd][T(hh:mm[:ss[.sss]]|hhmm[ss[.sss]])]?[Z|[+-]hh:mm]]

For example:
2007-08-13T19:51:23.2Z
20070813T19:51:23Z
2007-08-13T195123Z
2007-08-13T19:51Z
20070813T19:51Z
20070813Z

I hope it can help a little,

Thanks for you're job, time 

Best Regards

Jérôme


I think it'd be best to use some more refined exception, like ParseException of IllegalArgumentException. I know it's behavioral change, but IndexOutOfBounds is sort of low-level errror.