Home
last modified time | relevance | path

Searched refs:newDuration (Results 1 – 4 of 4) sorted by relevance

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/
DICUDurationTest.java153 private static final ICUTestDuration newDuration(long millis) { in newDuration() method in ICUDurationTest
156 private static final ICUTestDuration newDuration(int sgn, int d, int h, int m, float s) { in newDuration() method in ICUDurationTest
159 private static final ICUTestDuration newDuration(int sgn, int h, int m, float s) { in newDuration() method in ICUDurationTest
162 private static final ICUTestDuration newDuration(int sgn, float s) { in newDuration() method in ICUDurationTest
226 d = newDuration(1, 2, 46, 40); // "PT2H46M40S" in TestSimpleXMLDuration()
237 d = newDuration(10000); in TestSimpleXMLDuration()
247 d = newDuration(1, 0, 0, 0, 10); // "P0DT0H0M10.0S" in TestSimpleXMLDuration()
257 d = newDuration(86400000); in TestSimpleXMLDuration()
292 new TestCase("en", "PT10.00099S", newDuration(1, 10.00099F), "10 seconds"), in TestXMLDuration()
293 new TestCase("en", "#10000", newDuration(10000), "10 seconds"), in TestXMLDuration()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/duration/
DICUDurationTest.java156 private static final ICUTestDuration newDuration(long millis) { in newDuration() method in ICUDurationTest
159 private static final ICUTestDuration newDuration(int sgn, int d, int h, int m, float s) { in newDuration() method in ICUDurationTest
162 private static final ICUTestDuration newDuration(int sgn, int h, int m, float s) { in newDuration() method in ICUDurationTest
165 private static final ICUTestDuration newDuration(int sgn, float s) { in newDuration() method in ICUDurationTest
229 d = newDuration(1, 2, 46, 40); // "PT2H46M40S" in TestSimpleXMLDuration()
240 d = newDuration(10000); in TestSimpleXMLDuration()
250 d = newDuration(1, 0, 0, 0, 10); // "P0DT0H0M10.0S" in TestSimpleXMLDuration()
260 d = newDuration(86400000); in TestSimpleXMLDuration()
295 new TestCase("en", "PT10.00099S", newDuration(1, 10.00099F), "10 seconds"), in TestXMLDuration()
296 new TestCase("en", "#10000", newDuration(10000), "10 seconds"), in TestXMLDuration()
[all …]
/external/cldr/tools/java/org/unicode/cldr/draft/
DTransformTest.java115 long newDuration = t.getDuration(); in check() local
129 …final String percent = oldDuration == 0 ? "INF" : String.valueOf(newDuration * 100 / oldDuration -… in check()
130 …logln("new time: " + newDuration / 1.0 / iterations + "\told time: " + oldDuration / 1.0 / iterati… in check()
/external/python/cpython2/Mac/Modules/qt/
D_Qtmodule.c4152 TimeValue newDuration; in TrackObj_ScaleTrackSegment() local
4159 &newDuration)) in TrackObj_ScaleTrackSegment()
4164 newDuration); in TrackObj_ScaleTrackSegment()
6195 TimeValue newDuration; in MovieObj_ScaleMovieSegment() local
6202 &newDuration)) in MovieObj_ScaleMovieSegment()
6207 newDuration); in MovieObj_ScaleMovieSegment()