]> WPIA git - gigi.git/blobdiff - tests/org/cacert/gigi/TestCalendarUtil.java
fix: calendar util test, because time and date... I hate...
[gigi.git] / tests / org / cacert / gigi / TestCalendarUtil.java
index 0ab6abb4aebd8b4aa530e4e3b54641db8d36bef5..47ce3b99d5c8570997e09c69ce34bacd965c9f87 100644 (file)
@@ -52,6 +52,10 @@ public class TestCalendarUtil {
 
     }
 
+    static {
+        TimeZone.setDefault(TimeZone.getTimeZone("UTC"));
+    }
+
     @Test
     public void testIsDateValid() {
         assertTrue(CalendarUtil.isDateValid(2016, 2, 28));