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.java50 public long toSeconds(long d) { return d/(C3/C0); } in toSeconds() method
65 public long toSeconds(long d) { return d/(C3/C1); } in toSeconds() method
80 public long toSeconds(long d) { return d/(C3/C2); } in toSeconds() method
95 public long toSeconds(long d) { return d; } in toSeconds() method
99 public long convert(long d, TimeUnit u) { return u.toSeconds(d); } in convert()
111 public long toSeconds(long d) { return x(d, C4/C3, MAX/(C4/C3)); } in toSeconds() method
127 public long toSeconds(long d) { return x(d, C5/C3, MAX/(C5/C3)); } in toSeconds() method
143 public long toSeconds(long d) { return x(d, C6/C3, MAX/(C6/C3)); } in toSeconds() method
243 public long toSeconds(long duration) { in toSeconds() method in TimeUnit
/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()