mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-17 02:37:25 +00:00
ICU-4218 uconfig for 3.2
X-SVN-Rev: 16813
This commit is contained in:
parent
fa46a6d295
commit
2e8a985dc6
4 changed files with 8 additions and 5 deletions
|
@ -24,6 +24,7 @@
|
|||
#include "unicode/uclean.h"
|
||||
#include "unicode/timezone.h"
|
||||
#include "unicode/curramt.h"
|
||||
#include "unicode/putil.h"
|
||||
|
||||
#include "intltest.h"
|
||||
#include "caltztst.h"
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
#include "unicode/locid.h"
|
||||
#include "unicode/ulocdata.h"
|
||||
#include "unicode/utf8.h"
|
||||
#include "putilimp.h"
|
||||
#include "cmemory.h"
|
||||
#include "transrt.h"
|
||||
#include "testutil.h"
|
||||
|
@ -37,9 +38,9 @@
|
|||
if (exec) { \
|
||||
logln(#test "---"); \
|
||||
logln((UnicodeString)""); \
|
||||
UDate t = Calendar::getNow(); \
|
||||
UDate t = uprv_getUTCtime(); \
|
||||
test(); \
|
||||
t = Calendar::getNow() - t; \
|
||||
t = uprv_getUTCtime() - t; \
|
||||
logln((UnicodeString)#test " took " + t/U_MILLIS_PER_DAY + " seconds"); \
|
||||
} \
|
||||
break
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
#include "unicode/udata.h"
|
||||
#include "unicode/uloc.h"
|
||||
#include "unicode/locid.h"
|
||||
|
||||
#include "putilimp.h" /* for uprv_getUTCtime */
|
||||
#if !defined(WIN32) && !defined(XP_MAC) && !defined(U_RHAPSODY)
|
||||
#define POSIX 1
|
||||
#endif
|
||||
|
@ -628,11 +628,11 @@ public:
|
|||
virtual void run()
|
||||
{
|
||||
SimpleThread::sleep(500); // wait, make sure they aquire the lock
|
||||
fElapsed = Calendar::getNow();
|
||||
fElapsed = uprv_getUTCtime();
|
||||
{
|
||||
Mutex m; // wait here
|
||||
|
||||
fElapsed = Calendar::getNow() - fElapsed;
|
||||
fElapsed = uprv_getUTCtime() - fElapsed;
|
||||
|
||||
if(fOtherThread.fDone == FALSE)
|
||||
fErr = TRUE; // they didnt get to it yet
|
||||
|
|
|
@ -33,6 +33,7 @@
|
|||
#include "unicode/rbbi.h"
|
||||
#include "unicode/uclean.h"
|
||||
#include "unicode/udata.h"
|
||||
#include "unicode/putil.h"
|
||||
|
||||
#include "uoptions.h"
|
||||
#include "unewdata.h"
|
||||
|
|
Loading…
Add table
Reference in a new issue