]> WPIA git - gigi.git/commitdiff
fix: calendar util test, because time and date... I hate...
authorFelix Dörre <felix@dogcraft.de>
Tue, 31 May 2016 22:36:18 +0000 (00:36 +0200)
committerFelix Dörre <felix@dogcraft.de>
Tue, 31 May 2016 22:38:16 +0000 (00:38 +0200)
Change-Id: I8aef14a2e457748eeba9edd3fceda73bb38ac670

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));