Searched refs:minusHours (Results 1 – 14 of 14) 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/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
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | TCKLocalTime.java | 1936 t = t.minusHours(1); 1945 LocalTime t = base.minusHours(i); 1954 LocalTime t = base.minusHours(i); 1961 LocalTime t = TEST_12_30_40_987654321.minusHours(0); 1967 LocalTime t = LocalTime.of(1, 0).minusHours(1); 1973 LocalTime t = LocalTime.of(13, 0).minusHours(1); 1979 LocalTime t = LocalTime.of(2, 30).minusHours(Long.MAX_VALUE); 1981 assertEquals(t, LocalTime.of(2, 30).minusHours(hours));
|
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/src/main/java/java/time/ |
D | Duration.java | 884 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 | 1238 public LocalTime minusHours(long hoursToSubtract) { in minusHours() method in LocalTime
|
D | LocalDateTime.java | 1489 public LocalDateTime minusHours(long hours) { in minusHours() method in LocalDateTime
|