Home
last modified time | relevance | path

Searched refs:toMinutes (Results 1 – 7 of 7) sorted by relevance

/libcore/ojluni/src/main/java/java/util/concurrent/
DTimeUnit.java82 public long toMinutes(long d) { return d/(C4/C0); } in toMinutes() method
97 public long toMinutes(long d) { return d/(C4/C1); } in toMinutes() method
112 public long toMinutes(long d) { return d/(C4/C2); } in toMinutes() method
127 public long toMinutes(long d) { return d/(C4/C3); } in toMinutes() method
143 public long toMinutes(long d) { return d; } in toMinutes() method
146 public long convert(long d, TimeUnit u) { return u.toMinutes(d); } in convert()
159 public long toMinutes(long d) { return x(d, C5/C4, MAX/(C5/C4)); } in toMinutes() method
175 public long toMinutes(long d) { return x(d, C6/C4, MAX/(C6/C4)); } in toMinutes() method
287 public long toMinutes(long duration) { in toMinutes() method in TimeUnit
/libcore/ojluni/src/test/java/util/concurrent/tck/
DTimeUnitTest.java237 DAYS.toMinutes(t)); in testToMinutes()
239 HOURS.toMinutes(t)); in testToMinutes()
241 MINUTES.toMinutes(t)); in testToMinutes()
243 SECONDS.toMinutes(t*60)); in testToMinutes()
245 MILLISECONDS.toMinutes(t*1000L*60)); in testToMinutes()
247 MICROSECONDS.toMinutes(t*1000000L*60)); in testToMinutes()
249 NANOSECONDS.toMinutes(t*1000000000L*60)); in testToMinutes()
462 assertEquals(z * ratio, x.toMinutes(z)); in testToMinutesSaturate()
463 assertEquals(Long.MAX_VALUE, x.toMinutes(max + 1)); in testToMinutesSaturate()
464 assertEquals(Long.MIN_VALUE, x.toMinutes(-max - 1)); in testToMinutesSaturate()
[all …]
/libcore/jsr166-tests/src/test/java/jsr166/
DTimeUnitTest.java204 DAYS.toMinutes(t)); in testToMinutes()
206 HOURS.toMinutes(t)); in testToMinutes()
208 MINUTES.toMinutes(t)); in testToMinutes()
210 SECONDS.toMinutes(t*60)); in testToMinutes()
212 MILLISECONDS.toMinutes(t*1000L*60)); in testToMinutes()
214 MICROSECONDS.toMinutes(t*1000000L*60)); in testToMinutes()
216 NANOSECONDS.toMinutes(t*1000000000L*60)); in testToMinutes()
/libcore/ojluni/src/main/java/java/time/
DDuration.java1167 public long toMinutes() { in toMinutes() method in Duration
1264 return (int) (toMinutes() % MINUTES_PER_HOUR); in toMinutesPart()
/libcore/ojluni/annotations/hiddenapi/java/time/
DDuration.java290 public long toMinutes() { in toMinutes() method in Duration
/libcore/ojluni/src/test/java/time/tck/java/time/
DTCKDuration.java1259 assertEquals(t.toMinutes(), expectedMinutes); in plusMinutes_long()
1878 assertEquals(t.toMinutes(), expectedMinutes); in minusMinutes_long()
/libcore/api/
Dcurrent.txt10661 method public long toMinutes();
15106 method public long toMinutes(long);