Searched refs:toHours (Results 1 – 4 of 4) sorted by relevance
87 public long toHours(long d) { return d/(C5/C0); } in toHours() method102 public long toHours(long d) { return d/(C5/C1); } in toHours() method117 public long toHours(long d) { return d/(C5/C2); } in toHours() method132 public long toHours(long d) { return d/(C5/C3); } in toHours() method148 public long toHours(long d) { return d/(C5/C4); } in toHours() method164 public long toHours(long d) { return d; } in toHours() method166 public long convert(long d, TimeUnit u) { return u.toHours(d); } in convert()180 public long toHours(long d) { return x(d, C6/C5, MAX/(C6/C5)); } in toHours() method304 public long toHours(long duration) { in toHours() method in TimeUnit
227 DAYS.toHours(t)); in testToHours()229 HOURS.toHours(t)); in testToHours()231 MINUTES.toHours(t*60)); in testToHours()233 SECONDS.toHours(t*60*60)); in testToHours()235 MILLISECONDS.toHours(t*1000L*60*60)); in testToHours()237 MICROSECONDS.toHours(t*1000000L*60*60)); in testToHours()239 NANOSECONDS.toHours(t*1000000000L*60*60)); in testToHours()
1133 public long toHours() { in toHours() method in Duration
1215 assertEquals(t.toHours(), expectedHours); in plusHours_long()1834 assertEquals(t.toHours(), expectedHours); in minusHours_long()