/libcore/ojluni/src/main/java/java/time/temporal/ |
D | TemporalUnit.java | 113 Duration getDuration(); in getDuration() method
|
D | ChronoUnit.java | 210 public Duration getDuration() { in getDuration() method in ChronoUnit
|
D | IsoFields.java | 689 public Duration getDuration() { in getDuration() method in IsoFields.Unit
|
/libcore/ojluni/src/test/java/time/tck/java/time/zone/ |
D | TCKZoneOffsetTransition.java | 129 assertEquals(test.getDuration(), Duration.of(1, HOURS)); in test_getters_gap() 144 assertEquals(test.getDuration(), Duration.of(-1, HOURS)); in test_getters_overlap()
|
D | TCKZoneRules.java | 982 assertEquals(trans.getDuration(), Duration.ofHours(24)); in test_Apia_jumpOverInternationalDateLine_M10_to_P14() 1001 assertEquals(trans.getDuration(), Duration.ofHours(-24)); in test_Apia_jumpForwardOverInternationalDateLine_P12_to_M12()
|
/libcore/ojluni/src/main/java/java/time/ |
D | Duration.java | 710 return plusSeconds(Math.multiplyExact(unit.getDuration().seconds, amountToAdd)); in plus() 712 Duration duration = unit.getDuration().multipliedBy(amountToAdd); in plus() 1351 Duration unitDur = unit.getDuration(); in truncatedTo()
|
D | Instant.java | 745 Duration unitDur = unit.getDuration(); in truncatedTo()
|
D | LocalTime.java | 970 Duration unitDur = unit.getDuration(); in truncatedTo()
|
D | ZonedDateTime.java | 374 localDateTime = localDateTime.plusSeconds(trans.getDuration().getSeconds()); in ofLocal()
|
/libcore/ojluni/src/main/java/java/time/zone/ |
D | ZoneOffsetTransition.java | 328 public Duration getDuration() { in getDuration() method in ZoneOffsetTransition
|
/libcore/ojluni/src/main/java/java/time/chrono/ |
D | ChronoZonedDateTimeImpl.java | 150 localDateTime = localDateTime.plusSeconds(trans.getDuration().getSeconds()); in ofBest()
|
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/ |
D | TCKChronoLocalDate.java | 383 public Duration getDuration() { in getDuration() method in TCKChronoLocalDate.FixedTemporalUnit
|
D | TCKChronoLocalDateTime.java | 404 public Duration getDuration() { in getDuration() method in TCKChronoLocalDateTime.FixedTemporalUnit
|
D | TCKChronoZonedDateTime.java | 405 public Duration getDuration() { in getDuration() method in TCKChronoZonedDateTime.FixedTemporalUnit
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | TCKInstant.java | 560 public Duration getDuration() { 595 public Duration getDuration() {
|
D | TCKDuration.java | 2300 public Duration getDuration() { 2335 public Duration getDuration() {
|
D | TCKLocalTime.java | 1307 public Duration getDuration() { 1342 public Duration getDuration() {
|
/libcore/api/ |
D | current.txt | 12809 method public java.time.Duration getDuration(); 12925 method public java.time.Duration getDuration(); 12977 method public java.time.Duration getDuration();
|