Home
last modified time | relevance | path

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

/libcore/luni/src/main/java/java/util/concurrent/
DTimeUnit.java54 public long toMicros(long d) { return d/(C1/C0); } in toMicros() method
69 public long toMicros(long d) { return d; } in toMicros() method
75 public long convert(long d, TimeUnit u) { return u.toMicros(d); } in convert()
84 public long toMicros(long d) { return x(d, C2/C1, MAX/(C2/C1)); } in toMicros() method
99 public long toMicros(long d) { return x(d, C3/C1, MAX/(C3/C1)); } in toMicros() method
115 public long toMicros(long d) { return x(d, C4/C1, MAX/(C4/C1)); } in toMicros() method
131 public long toMicros(long d) { return x(d, C5/C1, MAX/(C5/C1)); } in toMicros() method
147 public long toMicros(long d) { return x(d, C6/C1, MAX/(C6/C1)); } in toMicros() method
225 public long toMicros(long duration) { in toMicros() method in TimeUnit
/libcore/jsr166-tests/src/test/java/jsr166/
DTimeUnitTest.java135 DAYS.toMicros(t)); in testToMicros()
137 HOURS.toMicros(t)); in testToMicros()
139 MINUTES.toMicros(t)); in testToMicros()
141 SECONDS.toMicros(t)); in testToMicros()
143 MILLISECONDS.toMicros(t)); in testToMicros()
145 MICROSECONDS.toMicros(t)); in testToMicros()
147 NANOSECONDS.toMicros(t*1000L)); in testToMicros()