Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/util/concurrent/
DTimeUnit.java84 public long toDays(long d) { return d/(C6/C0); } in toDays() method
99 public long toDays(long d) { return d/(C6/C1); } in toDays() method
114 public long toDays(long d) { return d/(C6/C2); } in toDays() method
129 public long toDays(long d) { return d/(C6/C3); } in toDays() method
145 public long toDays(long d) { return d/(C6/C4); } in toDays() method
161 public long toDays(long d) { return d/(C6/C5); } in toDays() method
177 public long toDays(long d) { return d; } in toDays() method
178 public long convert(long d, TimeUnit u) { return u.toDays(d); } in convert()
311 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/annotations/hiddenapi/java/time/
DDuration.java282 public long toDays() { in toDays() method in Duration
/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()