Home
last modified time | relevance | path

Searched refs:toDays (Results 1 – 5 of 5) sorted by relevance

/libcore/ojluni/src/main/java/java/util/concurrent/
DTimeUnit.java88 public long toDays(long d) { return d/(C6/C0); } in toDays() method
103 public long toDays(long d) { return d/(C6/C1); } in toDays() method
118 public long toDays(long d) { return d/(C6/C2); } in toDays() method
133 public long toDays(long d) { return d/(C6/C3); } in toDays() method
149 public long toDays(long d) { return d/(C6/C4); } in toDays() method
165 public long toDays(long d) { return d/(C6/C5); } in toDays() method
181 public long toDays(long d) { return d; } in toDays() method
182 public long convert(long d, TimeUnit u) { return u.toDays(d); } in convert()
315 public long toDays(long duration) { in toDays() method in TimeUnit
/libcore/jsr166-tests/src/test/java/jsr166/
DTimeUnitTest.java250 DAYS.toDays(t)); in testToDays()
252 HOURS.toDays(t*24)); in testToDays()
254 MINUTES.toDays(t*60*24)); in testToDays()
256 SECONDS.toDays(t*60*60*24)); in testToDays()
258 MILLISECONDS.toDays(t*1000L*60*60*24)); in testToDays()
260 MICROSECONDS.toDays(t*1000000L*60*60*24)); in testToDays()
262 NANOSECONDS.toDays(t*1000000000L*60*60*24)); in testToDays()
/libcore/ojluni/src/main/java/java/nio/file/attribute/
DFileTime.java308 private long toDays() { in toDays() method in FileTime
310 return unit.toDays(value); in toDays()
312 return TimeUnit.SECONDS.toDays(toInstant().getEpochSecond()); in toDays()
359 long days = toDays(); in compareTo()
360 long daysOther = other.toDays(); in compareTo()
/libcore/ojluni/src/main/java/java/time/
DDuration.java1119 public long toDays() { in toDays() method in Duration
/libcore/ojluni/src/test/java/time/tck/java/time/
DTCKDuration.java1173 assertEquals(t.toDays(), expectedDays); in plusDays_long()
1792 assertEquals(t.toDays(), expectedDays); in minusDays_long()