Home
last modified time | relevance | path

Searched refs:diffTime (Results 1 – 6 of 6) sorted by relevance

/third_party/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/
DElapsedTimer.java39 return diffTime(getFormat(), start, end); in elapsedTime()
43 return diffTime(getFormat(), start, System.currentTimeMillis()); in elapsedTime()
82 String duration = diffTime(myDurationFormat, startTime, endTime); in toString()
100 private static String diffTime(NumberFormat fmt, long start, long end) { in diffTime() method in ElapsedTimer
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/util/
DElapsedTimer.java42 return diffTime(getFormat(), start, end); in elapsedTime()
46 return diffTime(getFormat(), start, System.currentTimeMillis()); in elapsedTime()
85 String duration = diffTime(myDurationFormat, startTime, endTime); in toString()
103 private static String diffTime(NumberFormat fmt, long start, long end) { in diffTime() method in ElapsedTimer
/third_party/icu/icu4c/source/test/cintltst/
Dcintltst.c90 int32_t diffTime; in main() local
248 diffTime = (int32_t)(endTime - startTime); in main()
250 (int)((diffTime%U_MILLIS_PER_DAY)/U_MILLIS_PER_HOUR), in main()
251 (int)((diffTime%U_MILLIS_PER_HOUR)/U_MILLIS_PER_MINUTE), in main()
252 (int)((diffTime%U_MILLIS_PER_MINUTE)/U_MILLIS_PER_SECOND), in main()
253 (int)(diffTime%U_MILLIS_PER_SECOND)); in main()
/third_party/icu/icu4c/source/test/iotest/
Diotest.cpp853 int32_t diffTime; in main() local
919 diffTime = (int32_t)(endTime - startTime); in main()
921 (int)((diffTime%U_MILLIS_PER_DAY)/U_MILLIS_PER_HOUR), in main()
922 (int)((diffTime%U_MILLIS_PER_HOUR)/U_MILLIS_PER_MINUTE), in main()
923 (int)((diffTime%U_MILLIS_PER_MINUTE)/U_MILLIS_PER_SECOND), in main()
924 (int)(diffTime%U_MILLIS_PER_SECOND)); in main()
/third_party/icu/icu4c/source/test/letest/
Dletest.cpp1075 int32_t diffTime; in main() local
1125 diffTime = (int32_t)(endTime - startTime); in main()
1127 (int)((diffTime%U_MILLIS_PER_DAY)/U_MILLIS_PER_HOUR), in main()
1128 (int)((diffTime%U_MILLIS_PER_HOUR)/U_MILLIS_PER_MINUTE), in main()
1129 (int)((diffTime%U_MILLIS_PER_MINUTE)/U_MILLIS_PER_SECOND), in main()
1130 (int)(diffTime%U_MILLIS_PER_SECOND)); in main()
/third_party/icu/icu4c/source/test/intltest/
Dintltest.cpp1245 int32_t diffTime; in main() local
1594 diffTime = (int32_t)(endTime - startTime); in main()
1596 (int)((diffTime%U_MILLIS_PER_DAY)/U_MILLIS_PER_HOUR), in main()
1597 (int)((diffTime%U_MILLIS_PER_HOUR)/U_MILLIS_PER_MINUTE), in main()
1598 (int)((diffTime%U_MILLIS_PER_MINUTE)/U_MILLIS_PER_SECOND), in main()
1599 (int)(diffTime%U_MILLIS_PER_SECOND)); in main()