Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/util/concurrent/
DTimeUnit.java79 public long toMicros(long d) { return d/(C1/C0); } in toMicros() method
94 public long toMicros(long d) { return d; } in toMicros() method
100 public long convert(long d, TimeUnit u) { return u.toMicros(d); } in convert()
109 public long toMicros(long d) { return x(d, C2/C1, MAX/(C2/C1)); } in toMicros() method
124 public long toMicros(long d) { return x(d, C3/C1, MAX/(C3/C1)); } in toMicros() method
140 public long toMicros(long d) { return x(d, C4/C1, MAX/(C4/C1)); } in toMicros() method
156 public long toMicros(long d) { return x(d, C5/C1, MAX/(C5/C1)); } in toMicros() method
172 public long toMicros(long d) { return x(d, C6/C1, MAX/(C6/C1)); } in toMicros() method
250 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()