Home
last modified time | relevance | path

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

/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/test/java/util/concurrent/tck/
DTimeUnitTest.java283 DAYS.toDays(t)); in testToDays()
285 HOURS.toDays(t*24)); in testToDays()
287 MINUTES.toDays(t*60*24)); in testToDays()
289 SECONDS.toDays(t*60*60*24)); in testToDays()
291 MILLISECONDS.toDays(t*1000L*60*60*24)); in testToDays()
293 MICROSECONDS.toDays(t*1000000L*60*60*24)); in testToDays()
295 NANOSECONDS.toDays(t*1000000000L*60*60*24)); in testToDays()
/libcore/ojluni/src/main/java/java/util/concurrent/
DTimeUnit.java356 public long toDays(long duration) { in toDays() method in TimeUnit
/libcore/ojluni/annotations/hiddenapi/java/time/
DDuration.java282 public long toDays() { in toDays() method in Duration
/libcore/ojluni/src/main/java/java/time/
DDuration.java1140 public long toDays() { in toDays() method in Duration
/libcore/ojluni/src/test/java/time/tck/java/time/
DTCKDuration.java1200 assertEquals(t.toDays(), expectedDays); in plusDays_long()
1819 assertEquals(t.toDays(), expectedDays); in minusDays_long()
/libcore/api/
Dcurrent.txt11255 method public long toDays();
15911 method public long toDays(long);