From c9a551f4862b4d78014ec28dd39e6797b07142e4 Mon Sep 17 00:00:00 2001 From: "Steven R. Loomis" Date: Thu, 7 Jul 2005 07:52:51 +0000 Subject: [PATCH] ICU-4620 don't use ucal, formatting may be turned off X-SVN-Rev: 18154 --- icu4c/source/test/iotest/iotest.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/icu4c/source/test/iotest/iotest.cpp b/icu4c/source/test/iotest/iotest.cpp index 25bf1b6f51f..bf981da1848 100644 --- a/icu4c/source/test/iotest/iotest.cpp +++ b/icu4c/source/test/iotest/iotest.cpp @@ -25,6 +25,7 @@ #include "iotest.h" #include "unicode/tstdtmod.h" #include "unicode/ucal.h" +#include "putilimp.h" // for uprv_getUTCtime() #if U_IOSTREAM_SOURCE >= 199711 #include @@ -871,7 +872,7 @@ int main(int argc, char* argv[]) UDate startTime, endTime; int32_t diffTime; - startTime = ucal_getNow(); + startTime = uprv_getUTCtime(); /* Check whether ICU will initialize without forcing the build data directory into * the ICU_DATA path. Success here means either the data dll contains data, or that