Home
last modified time | relevance | path

Searched refs:minusHours (Results 1 – 18 of 18) sorted by relevance

/libcore/ojluni/src/test/java/time/test/java/time/
DTestLocalDateTime.java398 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()
DTestOffsetDateTime.java302 OffsetDateTime test = base.minusHours(0); in test_minusHours_zero()
/libcore/luni/src/test/java/libcore/java/time/
DZonedDateTimeTest.java86 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/
DOffsetTime.java1003 public OffsetTime minusHours(long hours) { in minusHours() method in OffsetTime
1004 return with(time.minusHours(hours), offset); in minusHours()
DDuration.java885 public Duration minusHours(long hoursToSubtract) { in minusHours() method in Duration
DLocalTime.java1238 public LocalTime minusHours(long hoursToSubtract) { in minusHours() method in LocalTime
DOffsetDateTime.java1474 public OffsetDateTime minusHours(long hours) { in minusHours() method in OffsetDateTime
DZonedDateTime.java1966 public ZonedDateTime minusHours(long hours) { in minusHours() method in ZonedDateTime
DLocalDateTime.java1482 public LocalDateTime minusHours(long hours) { in minusHours() method in LocalDateTime
/libcore/ojluni/annotations/hiddenapi/java/time/
DDuration.java229 public java.time.Duration minusHours(long hoursToSubtract) { in minusHours() method in Duration
DOffsetDateTime.java338 public java.time.OffsetDateTime minusHours(long hours) { in minusHours() method in OffsetDateTime
/libcore/ojluni/src/test/java/time/tck/java/time/
DTCKLocalTime.java1930 t = t.minusHours(1);
1939 LocalTime t = base.minusHours(i);
1948 LocalTime t = base.minusHours(i);
1955 LocalTime t = TEST_12_30_40_987654321.minusHours(0);
1961 LocalTime t = LocalTime.of(1, 0).minusHours(1);
1967 LocalTime t = LocalTime.of(13, 0).minusHours(1);
1973 LocalTime t = LocalTime.of(2, 30).minusHours(Long.MAX_VALUE);
1975 assertEquals(t, LocalTime.of(2, 30).minusHours(hours));
DTCKLocalDateTime.java2448 t = t.minusHours(1);
2466 LocalDateTime dt = base.minusHours(i);
2467 t = t.minusHours(1);
2485 LocalDateTime dt = base.minusHours(i);
2487 t = t.minusHours(1);
DTCKDuration.java1860 t = t.minusHours(amount); in minusHours_long()
1867 t.minusHours(-1); in minusHours_long_overflowTooBig()
1873 t.minusHours(1); in minusHours_long_overflowTooSmall()
DTCKOffsetTime.java1003 OffsetTime test = base.minusHours(-13);
1010 OffsetTime test = base.minusHours(0);
DTCKOffsetDateTime.java1094 OffsetDateTime test = base.minusHours(13);
DTCKZonedDateTime.java1942 assertEquals(base.minusHours(-amount), expected);
/libcore/api/
Dcurrent.txt11434 method public java.time.Duration minusHours(long);
11632 method public java.time.LocalDateTime minusHours(long);
11703 method public java.time.LocalTime minusHours(long);
11829 method public java.time.OffsetDateTime minusHours(long);
11903 method public java.time.OffsetTime minusHours(long);
12124 method public java.time.ZonedDateTime minusHours(long);