Home
last modified time | relevance | path

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

/libcore/luni/src/main/java/java/util/concurrent/
DTimeUnit.java47 public long toSeconds(long d) { return d/(C3/C0); } in toSeconds() method
58 public long toSeconds(long d) { return d/(C3/C1); } in toSeconds() method
69 public long toSeconds(long d) { return d/(C3/C2); } in toSeconds() method
80 public long toSeconds(long d) { return d; } in toSeconds() method
84 public long convert(long d, TimeUnit u) { return u.toSeconds(d); } in convert()
91 public long toSeconds(long d) { return x(d, C4/C3, MAX/(C4/C3)); } in toSeconds() method
102 public long toSeconds(long d) { return x(d, C5/C3, MAX/(C5/C3)); } in toSeconds() method
113 public long toSeconds(long d) { return x(d, C6/C3, MAX/(C6/C3)); } in toSeconds() method
214 public long toSeconds(long duration) { in toSeconds() method in TimeUnit
/libcore/jsr166-tests/src/test/java/jsr166/
DTimeUnitTest.java190 TimeUnit.DAYS.toSeconds(t)); in testToSeconds()
192 TimeUnit.HOURS.toSeconds(t)); in testToSeconds()
194 TimeUnit.MINUTES.toSeconds(t)); in testToSeconds()
196 TimeUnit.SECONDS.toSeconds(t)); in testToSeconds()
198 TimeUnit.MILLISECONDS.toSeconds(t*1000L)); in testToSeconds()
200 TimeUnit.MICROSECONDS.toSeconds(t*1000000L)); in testToSeconds()
202 TimeUnit.NANOSECONDS.toSeconds(t*1000000000L)); in testToSeconds()