Home
last modified time | relevance | path

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

/libcore/luni/src/main/java/java/util/concurrent/
DTimeUnit.java49 public long toHours(long d) { return d/(C5/C0); } in toHours() method
60 public long toHours(long d) { return d/(C5/C1); } in toHours() method
71 public long toHours(long d) { return d/(C5/C2); } in toHours() method
82 public long toHours(long d) { return d/(C5/C3); } in toHours() method
93 public long toHours(long d) { return d/(C5/C4); } in toHours() method
104 public long toHours(long d) { return d; } in toHours() method
106 public long convert(long d, TimeUnit u) { return u.toHours(d); } in convert()
115 public long toHours(long d) { return x(d, C6/C5, MAX/(C6/C5)); } in toHours() method
240 public long toHours(long duration) { in toHours() method in TimeUnit
/libcore/jsr166-tests/src/test/java/jsr166/
DTimeUnitTest.java236 TimeUnit.DAYS.toHours(t)); in testToHours()
238 TimeUnit.HOURS.toHours(t)); in testToHours()
240 TimeUnit.MINUTES.toHours(t*60)); in testToHours()
242 TimeUnit.SECONDS.toHours(t*60*60)); in testToHours()
244 TimeUnit.MILLISECONDS.toHours(t*1000L*60*60)); in testToHours()
246 TimeUnit.MICROSECONDS.toHours(t*1000000L*60*60)); in testToHours()
248 TimeUnit.NANOSECONDS.toHours(t*1000000000L*60*60)); in testToHours()