Searched refs:minusHours (Results 1 – 17 of 17) sorted by relevance
/libcore/ojluni/src/test/java/time/test/java/time/ |
D | TestLocalDateTime.java | 398 LocalDateTime t = TEST_2007_07_15_12_30_40_987654321.minusHours(0); in test_minusHours_noChange() 404 LocalDateTime t = TEST_2007_07_15_12_30_40_987654321.with(LocalTime.of(1, 0)).minusHours(1); in test_minusHours_toMidnight() 410 … LocalDateTime t = TEST_2007_07_15_12_30_40_987654321.with(LocalTime.of(13, 0)).minusHours(1); in test_minusHours_toMidday()
|
D | TestOffsetDateTime.java | 298 OffsetDateTime test = base.minusHours(0); in test_minusHours_zero()
|
/libcore/luni/src/test/java/libcore/java/time/ |
D | ZonedDateTimeTest.java | 86 checkOfInstant(LDT_IN_GAP, OFFSET_P2, ZONE_VIENNA, LDT_IN_GAP.minusHours(1), OFFSET_P1); in test_ofInstant()
|
/libcore/ojluni/src/main/java/java/time/ |
D | OffsetTime.java | 1002 public OffsetTime minusHours(long hours) { in minusHours() method in OffsetTime 1003 return with(time.minusHours(hours), offset); in minusHours()
|
D | Duration.java | 882 public Duration minusHours(long hoursToSubtract) { in minusHours() method in Duration
|
D | OffsetDateTime.java | 1474 public OffsetDateTime minusHours(long hours) { in minusHours() method in OffsetDateTime
|
D | LocalTime.java | 1215 public LocalTime minusHours(long hoursToSubtract) { in minusHours() method in LocalTime
|
D | ZonedDateTime.java | 1959 public ZonedDateTime minusHours(long hours) { in minusHours() method in ZonedDateTime
|
D | LocalDateTime.java | 1489 public LocalDateTime minusHours(long hours) { in minusHours() method in LocalDateTime
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | TCKLocalTime.java | 1902 t = t.minusHours(1); 1911 LocalTime t = base.minusHours(i); 1920 LocalTime t = base.minusHours(i); 1927 LocalTime t = TEST_12_30_40_987654321.minusHours(0); 1933 LocalTime t = LocalTime.of(1, 0).minusHours(1); 1939 LocalTime t = LocalTime.of(13, 0).minusHours(1); 1945 LocalTime t = LocalTime.of(2, 30).minusHours(Long.MAX_VALUE); 1947 assertEquals(t, LocalTime.of(2, 30).minusHours(hours));
|
D | TCKDuration.java | 1833 t = t.minusHours(amount); in minusHours_long() 1840 t.minusHours(-1); in minusHours_long_overflowTooBig() 1846 t.minusHours(1); in minusHours_long_overflowTooSmall()
|
D | TCKLocalDateTime.java | 2454 t = t.minusHours(1); 2472 LocalDateTime dt = base.minusHours(i); 2473 t = t.minusHours(1); 2491 LocalDateTime dt = base.minusHours(i); 2493 t = t.minusHours(1);
|
D | TCKOffsetTime.java | 1011 OffsetTime test = base.minusHours(-13); 1018 OffsetTime test = base.minusHours(0);
|
D | TCKOffsetDateTime.java | 1109 OffsetDateTime test = base.minusHours(13);
|
D | TCKZonedDateTime.java | 1947 assertEquals(base.minusHours(-amount), expected);
|
/libcore/ojluni/annotations/hiddenapi/java/time/ |
D | Duration.java | 229 public java.time.Duration minusHours(long hoursToSubtract) { in minusHours() method in Duration
|
D | OffsetDateTime.java | 338 public java.time.OffsetDateTime minusHours(long hours) { in minusHours() method in OffsetDateTime
|