@@ -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
@@ -107,6 +107,15 @@ public void testIso8601DateParseTz() {
}
@Test
+ public void testIso8601OptionalTZDateParse() {
+ Date dsDate = dateService
+
.iso8601DateParseWithOptionalTZ(testData[0].iso8601SecondsDateString);
+ Date secondsDate = dateService
+
Thanks for pushing this to master @andrewgaul. I believe the jclouds 1.8.0
release next week will be based off of master so this fix will make it there.
Do we need to backport this fix to the 1.7.x branch for any further 1.7.x
releases?
---
Reply to this email directly or view it on GitHub:
[jclouds » jclouds
#1428](https://buildhive.cloudbees.com/job/jclouds/job/jclouds/1428/) SUCCESS
This pull request looks good
[(what's this?)](https://www.cloudbees.com/what-is-buildhive)
---
Reply to this email directly or view it on GitHub:
[jclouds-java-7-pull-requests
#1507](https://jclouds.ci.cloudbees.com/job/jclouds-java-7-pull-requests/1507/)
UNSTABLE
Looks like there's a problem with this pull request
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/456#issuecomment-50227037
[jclouds-pull-requests
#1035](https://jclouds.ci.cloudbees.com/job/jclouds-pull-requests/1035/) SUCCESS
This pull request looks good
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/456#issuecomment-50227130
@@ -51,7 +51,17 @@ public void endElement(String uri, String name, String
qName) {
if (qName.equals(ETag)) {
this.currentETag = currentOrNull(currentText);
} else if (qName.equals(LastModified)) {
- this.currentLastModified =
@@ -201,4 +203,18 @@ public final Date rfc1123DateParse(String toParse)
throws IllegalArgumentExcepti
}
}
}
+
+ @Override
+ public Date iso8601DateParseWithOptionalTZ(String toParse)
+ throws IllegalArgumentException {
+ try {
+ return
@@ -51,7 +51,17 @@ public void endElement(String uri, String name, String
qName) {
if (qName.equals(ETag)) {
this.currentETag = currentOrNull(currentText);
} else if (qName.equals(LastModified)) {
- this.currentLastModified =
[jclouds » jclouds
#1430](https://buildhive.cloudbees.com/job/jclouds/job/jclouds/1430/) SUCCESS
This pull request looks good
[(what's this?)](https://www.cloudbees.com/what-is-buildhive)
---
Reply to this email directly or view it on GitHub:
Tested against aws-s3 and pushed to master as
d57bbebe7e0217b9a3818c6e1ed460c90469da78.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/456#issuecomment-50256377
Closed #456.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/456#event-145973428
S3 compatible blobStores sometimes return date in the format:
quot;2014-07-23T20:53:17+quot; instead of the more common
quot;2014-07-23T18:09:39.944Zquot;. This caused jclouds to barf with an
IllegalArgumentException.
This commit tries to parse both the formats for S3. The exception
is thrown
[jclouds-pull-requests
#1033](https://jclouds.ci.cloudbees.com/job/jclouds-pull-requests/1033/) SUCCESS
This pull request looks good
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/456#issuecomment-50219001
[jclouds-java-7-pull-requests
#1505](https://jclouds.ci.cloudbees.com/job/jclouds-java-7-pull-requests/1505/)
SUCCESS
This pull request looks good
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/456#issuecomment-50219263
@@ -51,7 +51,17 @@ public void endElement(String uri, String name, String
qName) {
if (qName.equals(ETag)) {
this.currentETag = currentOrNull(currentText);
} else if (qName.equals(LastModified)) {
- this.currentLastModified =
@@ -51,7 +51,17 @@ public void endElement(String uri, String name, String
qName) {
if (qName.equals(ETag)) {
this.currentETag = currentOrNull(currentText);
} else if (qName.equals(LastModified)) {
- this.currentLastModified =
@@ -51,7 +51,17 @@ public void endElement(String uri, String name, String
qName) {
if (qName.equals(ETag)) {
this.currentETag = currentOrNull(currentText);
} else if (qName.equals(LastModified)) {
- this.currentLastModified =
@@ -51,7 +51,17 @@ public void endElement(String uri, String name, String
qName) {
if (qName.equals(ETag)) {
this.currentETag = currentOrNull(currentText);
} else if (qName.equals(LastModified)) {
- this.currentLastModified =
@@ -51,7 +51,17 @@ public void endElement(String uri, String name, String
qName) {
if (qName.equals(ETag)) {
this.currentETag = currentOrNull(currentText);
} else if (qName.equals(LastModified)) {
- this.currentLastModified =
@@ -51,7 +51,17 @@ public void endElement(String uri, String name, String
qName) {
if (qName.equals(ETag)) {
this.currentETag = currentOrNull(currentText);
} else if (qName.equals(LastModified)) {
- this.currentLastModified =
21 matches
Mail list logo