Searched refs:toHours (Results 1 – 7 of 7) sorted by relevance
260 DAYS.toHours(t)); in testToHours()262 HOURS.toHours(t)); in testToHours()264 MINUTES.toHours(t*60)); in testToHours()266 SECONDS.toHours(t*60*60)); in testToHours()268 MILLISECONDS.toHours(t*1000L*60*60)); in testToHours()270 MICROSECONDS.toHours(t*1000000L*60*60)); in testToHours()272 NANOSECONDS.toHours(t*1000000000L*60*60)); in testToHours()482 assertEquals(z * ratio, x.toHours(z)); in testToHoursSaturate()484 assertEquals(Long.MAX_VALUE, x.toHours(max + 1)); in testToHoursSaturate()485 assertEquals(Long.MIN_VALUE, x.toHours(-max - 1)); in testToHoursSaturate()[all …]
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()
345 public long toHours(long duration) { in toHours() method in TimeUnit
1154 public long toHours() { in toHours() method in Duration1249 return (int) (toHours() % 24); in toHoursPart()
286 public long toHours() { in toHours() method in Duration
1242 assertEquals(t.toHours(), expectedHours); in plusHours_long()1861 assertEquals(t.toHours(), expectedHours); in minusHours_long()
11461 method public long toHours();16438 method public long toHours(long);