> @@ -141,4 +141,18 @@ public final String rfc1123DateFormat() {
> public final Date rfc1123DateParse(String toParse) {
> return rfc1123DateFormat.parseDateTime(toParse).toDate();
> }
> +
> + @Override
> + public Date iso8601DateParseWithOptionalTZ(String toParse)
> + throws IllegalArgumentException {
> + try {
> + return iso8601DateParse(toParse);
> + } catch (IllegalArgumentException orig) {
> + try {
> + return iso8601SecondsDateParse(toParse);
> + } catch (IllegalArgumentException ie) {
[minor] rename `ie` to `ignored`?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/456/files#r15459610