/libcore/ojluni/src/test/java/time/test/java/time/ |
D | TestDuration.java | 145 assertSame(t.minusSeconds(0), t); in minusSeconds_zeroReturnsThis() 151 assertSame(t.minusSeconds(1), Duration.ZERO); in minusSeconds_zeroSingleton()
|
D | TestLocalDateTime.java | 440 LocalDateTime t = TEST_2007_07_15_12_30_40_987654321.minusSeconds(0); in test_minusSeconds_noChange() 446 LocalDateTime t = TEST_2007_07_15_12_30_40_987654321.minusSeconds(24 * 60 * 60); in test_minusSeconds_noChange_oneDay() 453 … LocalDateTime t = TEST_2007_07_15_12_30_40_987654321.with(LocalTime.of(0, 0, 1)).minusSeconds(1); in test_minusSeconds_toMidnight() 459 … LocalDateTime t = TEST_2007_07_15_12_30_40_987654321.with(LocalTime.of(12, 0, 1)).minusSeconds(1); in test_minusSeconds_toMidday()
|
D | TestOffsetDateTime.java | 312 OffsetDateTime test = base.minusSeconds(0); in test_minusSeconds_zero()
|
/libcore/ojluni/src/test/java/nio/file/attribute/ |
D | BasicFileAttributeViewCreationTimeTest.java | 114 Instant minusHour = Instant.now().minusSeconds(60L * 60L); in test()
|
/libcore/ojluni/src/main/java/java/time/ |
D | OffsetTime.java | 1032 public OffsetTime minusSeconds(long seconds) { in minusSeconds() method in OffsetTime 1033 return with(time.minusSeconds(seconds), offset); in minusSeconds()
|
D | Instant.java | 987 public Instant minusSeconds(long secondsToSubtract) { in minusSeconds() method in Instant
|
D | Duration.java | 912 public Duration minusSeconds(long secondsToSubtract) { in minusSeconds() method in Duration
|
D | OffsetDateTime.java | 1500 public OffsetDateTime minusSeconds(long seconds) { in minusSeconds() method in OffsetDateTime
|
D | LocalTime.java | 1268 public LocalTime minusSeconds(long secondsToSubtract) { in minusSeconds() method in LocalTime
|
D | ZonedDateTime.java | 1995 public ZonedDateTime minusSeconds(long seconds) { in minusSeconds() method in ZonedDateTime
|
D | LocalDateTime.java | 1515 public LocalDateTime minusSeconds(long seconds) { in minusSeconds() method in LocalDateTime
|
/libcore/ojluni/annotations/hiddenapi/java/time/ |
D | Duration.java | 237 public java.time.Duration minusSeconds(long secondsToSubtract) { in minusSeconds() method in Duration
|
D | OffsetDateTime.java | 346 public java.time.OffsetDateTime minusSeconds(long seconds) { in minusSeconds() method in OffsetDateTime
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | TCKLocalTime.java | 2072 t = t.minusSeconds(1); 2137 LocalTime t = base.minusSeconds(seconds); 2146 LocalTime t = TEST_12_30_40_987654321.minusSeconds(0); 2152 LocalTime t = TEST_12_30_40_987654321.minusSeconds(24 * 60 * 60); 2158 LocalTime t = LocalTime.of(0, 0, 1).minusSeconds(1); 2164 LocalTime t = LocalTime.of(12, 0, 1).minusSeconds(1); 2170 LocalTime t = LocalTime.of(2, 30).minusSeconds(Long.MAX_VALUE); 2172 assertEquals(t, LocalTime.of(2, 30).minusSeconds(secs));
|
D | TCKOffsetDateTime.java | 278 … Clock clock = Clock.fixed(instant.minusSeconds(OFFSET_PONE.getTotalSeconds()), OFFSET_PONE); 301 expected = expected.minusSeconds(1); 1129 OffsetDateTime test = base.minusSeconds(1); 1295 … OffsetDateTime a = OffsetDateTime.of(1970, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC).minusSeconds(i);
|
D | TCKLocalDateTime.java | 326 … Clock clock = Clock.fixed(instant.minusSeconds(OFFSET_PONE.getTotalSeconds()), OFFSET_PONE); 348 expected = expected.minusSeconds(1); 816 assertEquals(test, base.minusSeconds(i)); 2570 t = t.minusSeconds(1); 2643 LocalDateTime t = base.minusSeconds(seconds); 3022 LocalDateTime a = LocalDateTime.of(1970, 1, 1, 0, 0).minusSeconds(i);
|
D | TCKZonedDateTime.java | 314 expected = expected.minusSeconds(1); 1971 assertEquals(base.minusSeconds(-amount * 3600), expected); 1978 ZonedDateTime test = base.minusSeconds(1); 1979 assertEquals(test, ZonedDateTime.of(ldt.minusSeconds(1), ZONE_0100)); 2164 ldt = ldt.minusSeconds(1);
|
D | TCKInstant.java | 1487 i = i.minusSeconds(amount); 1495 i.minusSeconds(Long.MIN_VALUE + 1); 1501 i.minusSeconds(Long.MAX_VALUE);
|
D | TCKDuration.java | 1923 t = t.minusSeconds(amount); in minusSeconds_long() 1931 t.minusSeconds(Long.MIN_VALUE + 1); in minusSeconds_long_overflowTooBig() 1937 t.minusSeconds(Long.MAX_VALUE); in minusSeconds_long_overflowTooSmall()
|
D | TCKOffsetTime.java | 1045 OffsetTime test = base.minusSeconds(60); 1052 OffsetTime test = base.minusSeconds(0);
|
D | TCKLocalDate.java | 290 … Clock clock = Clock.fixed(instant.minusSeconds(OFFSET_PONE.getTotalSeconds()), OFFSET_PONE);
|
/libcore/ojluni/src/test/java/time/tck/java/time/zone/ |
D | TCKZoneRules.java | 1032 …stdOffsetTransition1 = OffsetDateTime.of(time_of_stdOffsetTransition1, stdOffset1).minusSeconds(1); in test_of() 1037 …lOffsetTransition1 = OffsetDateTime.of(time_of_wallOffsetTransition1, wallOffset1).minusSeconds(1); in test_of() 1042 …lOffsetTransition2 = OffsetDateTime.of(time_of_wallOffsetTransition2, wallOffset2).minusSeconds(1); in test_of() 1047 …lOffsetTransition3 = OffsetDateTime.of(time_of_wallOffsetTransition3, wallOffset3).minusSeconds(1); in test_of()
|
/libcore/api/ |
D | current.txt | 10634 method public java.time.Duration minusSeconds(long); 10690 method public java.time.Instant minusSeconds(long); 10786 method public java.time.LocalDateTime minusSeconds(long); 10852 method public java.time.LocalTime minusSeconds(long); 10973 method public java.time.OffsetDateTime minusSeconds(long); 11043 method public java.time.OffsetTime minusSeconds(long); 11242 method public java.time.ZonedDateTime minusSeconds(long);
|