Searched refs:toSeconds (Results 1 – 6 of 6) sorted by relevance
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | TimeUnit.java | 81 public long toSeconds(long d) { return d/(C3/C0); } in toSeconds() method 96 public long toSeconds(long d) { return d/(C3/C1); } in toSeconds() method 111 public long toSeconds(long d) { return d/(C3/C2); } in toSeconds() method 126 public long toSeconds(long d) { return d; } in toSeconds() method 130 public long convert(long d, TimeUnit u) { return u.toSeconds(d); } in convert() 142 public long toSeconds(long d) { return x(d, C4/C3, MAX/(C4/C3)); } in toSeconds() method 158 public long toSeconds(long d) { return x(d, C5/C3, MAX/(C5/C3)); } in toSeconds() method 174 public long toSeconds(long d) { return x(d, C6/C3, MAX/(C6/C3)); } in toSeconds() method 274 public long toSeconds(long duration) { in toSeconds() method in TimeUnit
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | TimeUnitTest.java | 181 DAYS.toSeconds(t)); in testToSeconds() 183 HOURS.toSeconds(t)); in testToSeconds() 185 MINUTES.toSeconds(t)); in testToSeconds() 187 SECONDS.toSeconds(t)); in testToSeconds() 189 MILLISECONDS.toSeconds(t*1000L)); in testToSeconds() 191 MICROSECONDS.toSeconds(t*1000000L)); in testToSeconds() 193 NANOSECONDS.toSeconds(t*1000000000L)); in testToSeconds()
|
/libcore/ojluni/src/main/java/java/time/zone/ |
D | IcuZoneRulesProvider.java | 140 TimeUnit.MILLISECONDS.toSeconds(transition.getTime()), in generateZoneRules() 149 TimeUnit.MILLISECONDS.toSeconds(transition.getTime()), in generateZoneRules() 256 int secondOfDay = (int) TimeUnit.MILLISECONDS.toSeconds(dateTimeRule.getRuleMillisInDay()); in toZoneOffsetTransitionRule() 292 return ZoneOffset.ofTotalSeconds((int) TimeUnit.MILLISECONDS.toSeconds(offset)); in millisToOffset()
|
/libcore/ojluni/src/main/java/java/nio/file/attribute/ |
D | FileTime.java | 321 - TimeUnit.DAYS.toSeconds(days)); in toExcessNanos() 416 secs = unit.toSeconds(value); in toString()
|
/libcore/ojluni/src/main/java/java/time/ |
D | Duration.java | 957 return create(toSeconds().multiply(BigDecimal.valueOf(multiplicand))); in multipliedBy() 976 return create(toSeconds().divide(BigDecimal.valueOf(divisor), RoundingMode.DOWN)); in dividedBy() 985 private BigDecimal toSeconds() { in toSeconds() method in Duration
|
/libcore/ojluni/annotations/hiddenapi/java/time/ |
D | Duration.java | 258 private java.math.BigDecimal toSeconds() { in toSeconds() method in Duration
|