You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@juneau.apache.org by ja...@apache.org on 2019/07/23 15:34:52 UTC
[juneau] branch master updated: Fix build failure.
This is an automated email from the ASF dual-hosted git repository.
jamesbognar pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/juneau.git
The following commit(s) were added to refs/heads/master by this push:
new 53d7be6 Fix build failure.
53d7be6 is described below
commit 53d7be6fcc9ffcca0683d336c99b1b013fba66db
Author: JamesBognar <ja...@apache.org>
AuthorDate: Tue Jul 23 11:34:38 2019 -0400
Fix build failure.
---
.../org/apache/juneau/transforms/TemporalCalendarSwapTest.java | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/juneau-core/juneau-core-utest/src/test/java/org/apache/juneau/transforms/TemporalCalendarSwapTest.java b/juneau-core/juneau-core-utest/src/test/java/org/apache/juneau/transforms/TemporalCalendarSwapTest.java
index 655b435..f3bfec3 100644
--- a/juneau-core/juneau-core-utest/src/test/java/org/apache/juneau/transforms/TemporalCalendarSwapTest.java
+++ b/juneau-core/juneau-core-utest/src/test/java/org/apache/juneau/transforms/TemporalCalendarSwapTest.java
@@ -46,7 +46,7 @@ public class TemporalCalendarSwapTest extends RoundTripStringSwapTest<Calendar>
private static GregorianCalendar T_Calendar = GregorianCalendar.from(ZonedDateTime.from(DateTimeFormatter.ISO_ZONED_DATE_TIME.parse("2012-12-21T12:34:56Z")));
static {
- T_Calendar.setTimeZone(TimeZone.getDefault());
+ T_Calendar.setTimeZone(TimeZone.getTimeZone("GMT-5"));
}
public TemporalCalendarSwapTest(String label, Calendar o, StringSwap<Calendar> s, String r, BeanSession bs) throws Exception {
@@ -104,14 +104,14 @@ public class TemporalCalendarSwapTest extends RoundTripStringSwapTest<Calendar>
"[4] IsoDateTime, Default timezone",
T_Calendar,
new TemporalCalendarSwap.IsoDateTime(),
- "2012-12-21T07:34:56-05:00[America/New_York]",
+ "2012-12-21T07:34:56-05:00[GMT-05:00]",
BS_DEFAULT
},
{
"[5] IsoDateTime, Pacific timezone",
T_Calendar,
new TemporalCalendarSwap.IsoDateTime(),
- "2012-12-21T07:34:56-05:00[America/New_York]",
+ "2012-12-21T07:34:56-05:00[GMT-05:00]",
BS_PST
},
@@ -302,14 +302,14 @@ public class TemporalCalendarSwapTest extends RoundTripStringSwapTest<Calendar>
"[26] IsoZonedDateTime, Default timezone",
T_Calendar,
new TemporalCalendarSwap.IsoZonedDateTime(),
- "2012-12-21T07:34:56-05:00[America/New_York]",
+ "2012-12-21T07:34:56-05:00[GMT-05:00]",
BS_DEFAULT
},
{
"[27] IsoZonedDateTime, Pacific timezone",
T_Calendar,
new TemporalCalendarSwap.IsoZonedDateTime(),
- "2012-12-21T07:34:56-05:00[America/New_York]",
+ "2012-12-21T07:34:56-05:00[GMT-05:00]",
BS_PST
},