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

/libcore/ojluni/src/main/java/java/util/concurrent/
H A DTimeUnit.java84 public long toDays(long d) { return d/(C6/C0); }
99 public long toDays(long d) { return d/(C6/C1); }
114 public long toDays(long d) { return d/(C6/C2); }
129 public long toDays(long d) { return d/(C6/C3); }
145 public long toDays(long d) { return d/(C6/C4); }
161 public long toDays(long d) { return d/(C6/C5); }
177 public long toDays(long d) { return d; }
178 public long convert(long d, TimeUnit u) { return u.toDays(d); }
311 public long toDays(long duration) { method in class:TimeUnit
/libcore/jsr166-tests/src/test/java/jsr166/
H A DTimeUnitTest.java244 * toDays correctly converts sample values in different units to
250 DAYS.toDays(t));
252 HOURS.toDays(t*24));
254 MINUTES.toDays(t*60*24));
256 SECONDS.toDays(t*60*60*24));
258 MILLISECONDS.toDays(t*1000L*60*60*24));
260 MICROSECONDS.toDays(t*1000000L*60*60*24));
262 NANOSECONDS.toDays(t*1000000000L*60*60*24));
/libcore/ojluni/src/main/java/java/nio/file/attribute/
H A DFileTime.java308 private long toDays() { method in class:FileTime
310 return unit.toDays(value);
312 return TimeUnit.SECONDS.toDays(toInstant().getEpochSecond());
359 long days = toDays();
360 long daysOther = other.toDays();
/libcore/ojluni/src/main/java/java/time/
H A DDuration.java1119 public long toDays() { method in class:Duration
/libcore/ojluni/src/test/java/time/tck/java/time/
H A DTCKDuration.java1173 assertEquals(t.toDays(), expectedDays);
1792 assertEquals(t.toDays(), expectedDays);

Completed in 603 milliseconds