]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/test/intltest/erarulestest.cpp
ICU-66108.tar.gz
[apple/icu.git] / icuSources / test / intltest / erarulestest.cpp
index b550361b271f465a4f55149a763799cc3aa764fd..115e7eacbd10ca4e92099ca4ed598d009f90a6c1 100644 (file)
@@ -8,6 +8,7 @@
 #include "unicode/calendar.h"
 #include "unicode/localpointer.h"
 #include "unicode/unistr.h"
+#include "unicode/timezone.h"
 #include "erarules.h"
 #include "erarulestest.h"
 
@@ -73,7 +74,7 @@ void EraRulesTest::testAPIs() {
                     + calId);
         }
 
-        LocalPointer<Calendar> cal(Calendar::createInstance("en", status));
+        LocalPointer<Calendar> cal(Calendar::createInstance(*TimeZone::getGMT(), "en", status));
         if (U_FAILURE(status)) {
             errln("Failed to create a Calendar instance.");
             continue;