Home
last modified time | relevance | path

Searched refs:toDays (Results 1 – 2 of 2) sorted by relevance

/libcore/luni/src/main/java/java/util/concurrent/
DTimeUnit.java50 public long toDays(long d) { return d/(C6/C0); } in toDays() method
61 public long toDays(long d) { return d/(C6/C1); } in toDays() method
72 public long toDays(long d) { return d/(C6/C2); } in toDays() method
83 public long toDays(long d) { return d/(C6/C3); } in toDays() method
94 public long toDays(long d) { return d/(C6/C4); } in toDays() method
105 public long toDays(long d) { return d/(C6/C5); } in toDays() method
116 public long toDays(long d) { return d; } in toDays() method
117 public long convert(long d, TimeUnit u) { return u.toDays(d); } in convert()
251 public long toDays(long duration) { in toDays() method in TimeUnit
/libcore/jsr166-tests/src/test/java/jsr166/
DTimeUnitTest.java259 TimeUnit.DAYS.toDays(t)); in testToDays()
261 TimeUnit.HOURS.toDays(t*24)); in testToDays()
263 TimeUnit.MINUTES.toDays(t*60*24)); in testToDays()
265 TimeUnit.SECONDS.toDays(t*60*60*24)); in testToDays()
267 TimeUnit.MILLISECONDS.toDays(t*1000L*60*60*24)); in testToDays()
269 TimeUnit.MICROSECONDS.toDays(t*1000000L*60*60*24)); in testToDays()
271 TimeUnit.NANOSECONDS.toDays(t*1000000000L*60*60*24)); in testToDays()