> @@ -73,6 +73,21 @@ > */ > Date iso8601SecondsDateParse(String toParse) throws > IllegalArgumentException; > > + /** > + * Parse a given date in either of two iso8601 formats: > + * "yyyy-MM-dd'T'HH:mm:ssZ" or "yyyy-MM-dd'T'HH:mm:ss.SSSZ". The latter > one > + * has the timezone designator, e.g. 2014-07-23T20:53:17+0000. At least > one > + * S3 compatible blobstore uses both these formats when returning > + * container/object metadata. > + * > + * @param toParse > + * The string to parse. > + * @return the Date object of the parsed string. > + * @throws IllegalArgumentException > + */ > + Date iso8601DateParseWithOptionalTZ(String toParse)
[minor] Looking at the naming of the others, would this better be `iso8601DateWithOptionalTZParse`? --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds/pull/456/files#r15459522
