mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-13 08:53:20 +00:00
ICU-4620 don't use ucal, formatting may be turned off
X-SVN-Rev: 18154
This commit is contained in:
parent
b00f078ca8
commit
c9a551f486
1 changed files with 2 additions and 1 deletions
|
@ -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 <iostream>
|
||||
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue