8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60aaea9 commit ee2c27eCopy full SHA for ee2c27e
google-http-client/src/test/java/com/google/api/client/util/DateTimeTest.java
@@ -148,6 +148,11 @@ public void testParseRfc3339() {
148
DateTime.parseRfc3339(
149
"2018-12-31T23:59:59.9999Z"), // This value would be truncated prior to version 1.30.2
150
DateTime.parseRfc3339("2018-12-31T23:59:59.999Z"));
151
+
152
+ // The beginning of Gregorian Calendar
153
+ assertEquals(
154
+ -12219287774877L, // Result from Joda time's Instant.parse
155
+ DateTime.parseRfc3339("1582-10-15T01:23:45.123Z").getValue());
156
}
157
158
/**
0 commit comments