Home
last modified time | relevance | path

Searched refs:durations (Results 1 – 3 of 3) sorted by relevance

/libcore/luni/src/test/java/libcore/javax/xml/datatype/
DDurationTest.java143 final Duration[] durations = { in testIsLongerThan() local
145 for (int i = 0; i < durations.length - 1; i++) { in testIsLongerThan()
146 for (int j = i + 1; j < durations.length; j++) { in testIsLongerThan()
148 assertTrue(durations[j].isLongerThan(durations[i])); in testIsLongerThan()
155 final Duration[] durations = { in testIsShorterThan() local
157 for (int i = 0; i < durations.length - 1; i++) { in testIsShorterThan()
158 for (int j = i + 1; j < durations.length; j++) { in testIsShorterThan()
160 assertTrue(durations[i].isShorterThan(durations[j])); in testIsShorterThan()
167 final Duration[] durations = { in testMultiply() local
169 for (Duration d : durations) { in testMultiply()
[all …]
/libcore/ojluni/src/test/java/time/test/java/time/
DTestDuration.java184 void doTest_comparisons_Duration(Duration... durations) { in doTest_comparisons_Duration() argument
185 for (int i = 0; i < durations.length; i++) { in doTest_comparisons_Duration()
186 Duration a = durations[i]; in doTest_comparisons_Duration()
187 for (int j = 0; j < durations.length; j++) { in doTest_comparisons_Duration()
188 Duration b = durations[j]; in doTest_comparisons_Duration()
/libcore/ojluni/src/test/java/time/tck/java/time/
DTCKDuration.java2862 void doTest_comparisons_Duration(Duration... durations) { in doTest_comparisons_Duration() argument
2863 for (int i = 0; i < durations.length; i++) { in doTest_comparisons_Duration()
2864 Duration a = durations[i]; in doTest_comparisons_Duration()
2865 for (int j = 0; j < durations.length; j++) { in doTest_comparisons_Duration()
2866 Duration b = durations[j]; in doTest_comparisons_Duration()