Searched refs:toSeconds (Results 1 – 8 of 8) sorted by relevance
214 DAYS.toSeconds(t)); in testToSeconds()216 HOURS.toSeconds(t)); in testToSeconds()218 MINUTES.toSeconds(t)); in testToSeconds()220 SECONDS.toSeconds(t)); in testToSeconds()222 MILLISECONDS.toSeconds(t*1000L)); in testToSeconds()224 MICROSECONDS.toSeconds(t*1000000L)); in testToSeconds()226 NANOSECONDS.toSeconds(t*1000000000L)); in testToSeconds()436 assertEquals(z * ratio, x.toSeconds(z)); in testToSecondsSaturate()438 assertEquals(Long.MAX_VALUE, x.toSeconds(max + 1)); in testToSecondsSaturate()439 assertEquals(Long.MIN_VALUE, x.toSeconds(-max - 1)); in testToSecondsSaturate()[all …]
181 DAYS.toSeconds(t)); in testToSeconds()183 HOURS.toSeconds(t)); in testToSeconds()185 MINUTES.toSeconds(t)); in testToSeconds()187 SECONDS.toSeconds(t)); in testToSeconds()189 MILLISECONDS.toSeconds(t*1000L)); in testToSeconds()191 MICROSECONDS.toSeconds(t*1000000L)); in testToSeconds()193 NANOSECONDS.toSeconds(t*1000000000L)); in testToSeconds()
190 case SECONDS: return sourceUnit.toSeconds(sourceDuration); in convert()311 public long toSeconds(long duration) { in toSeconds() method in TimeUnit
321 - TimeUnit.DAYS.toSeconds(days)); in toExcessNanos()416 secs = unit.toSeconds(value); in toString()
258 private java.math.BigDecimal toSeconds() { in toSeconds() method in Duration
1182 public long toSeconds() { in toSeconds() method in Duration
2718 assertEquals(dur.toSeconds(), seconds); in test_toSeconds()
11469 method public long toSeconds();16443 method public long toSeconds(long);