Home
last modified time | relevance | path

Searched refs:toSeconds (Results 1 – 8 of 8) sorted by relevance

/libcore/ojluni/src/test/java/util/concurrent/tck/
DTimeUnitTest.java214 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 …]
/libcore/jsr166-tests/src/test/java/jsr166/
DTimeUnitTest.java181 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()
/libcore/ojluni/src/main/java/java/util/concurrent/
DTimeUnit.java190 case SECONDS: return sourceUnit.toSeconds(sourceDuration); in convert()
311 public long toSeconds(long duration) { in toSeconds() method in TimeUnit
/libcore/ojluni/src/main/java/java/nio/file/attribute/
DFileTime.java321 - TimeUnit.DAYS.toSeconds(days)); in toExcessNanos()
416 secs = unit.toSeconds(value); in toString()
/libcore/ojluni/annotations/hiddenapi/java/time/
DDuration.java258 private java.math.BigDecimal toSeconds() { in toSeconds() method in Duration
/libcore/ojluni/src/main/java/java/time/
DDuration.java1182 public long toSeconds() { in toSeconds() method in Duration
/libcore/ojluni/src/test/java/time/tck/java/time/
DTCKDuration.java2718 assertEquals(dur.toSeconds(), seconds); in test_toSeconds()
/libcore/api/
Dcurrent.txt11469 method public long toSeconds();
16443 method public long toSeconds(long);