Home
last modified time | relevance | path

Searched refs:plusMinutes (Results 1 – 17 of 17) sorted by relevance

/libcore/ojluni/src/main/java/java/time/
DOffsetDateTime.java1298 public OffsetDateTime plusMinutes(long minutes) { in plusMinutes() method in OffsetDateTime
1299 return with(dateTime.plusMinutes(minutes), offset); in plusMinutes()
1488 …return (minutes == Long.MIN_VALUE ? plusMinutes(Long.MAX_VALUE).plusMinutes(1) : plusMinutes(-minu… in minusMinutes()
DDuration.java752 public Duration plusMinutes(long minutesToAdd) { in plusMinutes() method in Duration
898 …return (minutesToSubtract == Long.MIN_VALUE ? plusMinutes(Long.MAX_VALUE).plusMinutes(1) : plusMin… in minusMinutes()
DZonedDateTime.java1736 public ZonedDateTime plusMinutes(long minutes) { in plusMinutes() method in ZonedDateTime
1737 return resolveInstant(dateTime.plusMinutes(minutes)); in plusMinutes()
1978 …return (minutes == Long.MIN_VALUE ? plusMinutes(Long.MAX_VALUE).plusMinutes(1) : plusMinutes(-minu… in minusMinutes()
DLocalTime.java841 case MINUTE_OF_DAY: return plusMinutes(newValue - (hour * 60 + minute)); in with()
1045 case MINUTES: return plusMinutes(amountToAdd); in plus()
1085 public LocalTime plusMinutes(long minutesToAdd) { in plusMinutes() method in LocalTime
1231 return plusMinutes(-(minutesToSubtract % MINUTES_PER_DAY)); in minusMinutes()
DOffsetTime.java906 public OffsetTime plusMinutes(long minutes) { in plusMinutes() method in OffsetTime
907 return with(time.plusMinutes(minutes), offset); in plusMinutes()
DLocalDateTime.java1184 case MINUTES: return plusMinutes(amountToAdd); in plus()
1307 public LocalDateTime plusMinutes(long minutes) { in plusMinutes() method in LocalDateTime
/libcore/ojluni/src/test/java/time/test/java/time/
DTestLocalDateTime.java284 LocalDateTime t = TEST_2007_07_15_12_30_40_987654321.plusMinutes(0); in test_plusMinutes_noChange()
290 LocalDateTime t = TEST_2007_07_15_12_30_40_987654321.plusMinutes(24 * 60); in test_plusMinutes_noChange_oneDay_same()
296 … LocalDateTime t = TEST_2007_07_15_12_30_40_987654321.with(LocalTime.of(23, 59)).plusMinutes(1); in test_plusMinutes_toMidnight()
302 … LocalDateTime t = TEST_2007_07_15_12_30_40_987654321.with(LocalTime.of(11, 59)).plusMinutes(1); in test_plusMinutes_toMidday()
DTestOffsetDateTime.java244 OffsetDateTime test = base.plusMinutes(0); in test_plusMinutes_zero()
/libcore/ojluni/src/main/java/java/time/chrono/
DChronoLocalDateTimeImpl.java312 case MINUTES: return plusMinutes(amountToAdd); in plus()
329 private ChronoLocalDateTimeImpl<D> plusMinutes(long minutes) { in plusMinutes() method in ChronoLocalDateTimeImpl
/libcore/ojluni/src/test/java/time/tck/java/time/
DTCKLocalTime.java1533 t = t.plusMinutes(1); in test_plusMinutes_one()
1550 LocalTime t = base.plusMinutes(i); in test_plusMinutes_fromZero()
1571 LocalTime t = TEST_12_30_40_987654321.plusMinutes(0); in test_plusMinutes_noChange_equal()
1577 LocalTime t = TEST_12_30_40_987654321.plusMinutes(24 * 60); in test_plusMinutes_noChange_oneDay_equal()
1583 LocalTime t = LocalTime.of(23, 59).plusMinutes(1); in test_plusMinutes_toMidnight_equal()
1589 LocalTime t = LocalTime.of(11, 59).plusMinutes(1); in test_plusMinutes_toMidday_equal()
1595 LocalTime t = LocalTime.of(2, 30).plusMinutes(Long.MAX_VALUE); in test_plusMinutes_big()
1597 assertEquals(t, LocalTime.of(2, 30).plusMinutes(mins)); in test_plusMinutes_big()
DTCKDuration.java1256 t = t.plusMinutes(amount); in plusMinutes_long()
1263 t.plusMinutes(Long.MAX_VALUE/60); in plusMinutes_long_overflowTooBig()
1269 t.plusMinutes(Long.MIN_VALUE/60); in plusMinutes_long_overflowTooSmall()
DTCKLocalDateTime.java1827 t = t.plusMinutes(1);
1847 LocalDateTime dt = base.plusMinutes(i);
1848 t = t.plusMinutes(1);
1861 LocalDateTime t = TEST_2007_07_15_12_30_40_987654321.plusMinutes(24 * 60);
2540 t = t.plusMinutes(1);
DTCKOffsetTime.java933 OffsetTime test = base.plusMinutes(30);
940 OffsetTime test = base.plusMinutes(0);
DTCKZonedDateTime.java1783 assertEquals(base.plusMinutes(amount * 60), expected);
1790 ZonedDateTime test = base.plusMinutes(30);
1791 assertEquals(test, ZonedDateTime.of(ldt.plusMinutes(30), ZONE_0100));
DTCKOffsetDateTime.java1008 OffsetDateTime test = base.plusMinutes(30);
/libcore/ojluni/annotations/hiddenapi/java/time/
DDuration.java197 public java.time.Duration plusMinutes(long minutesToAdd) { in plusMinutes() method in Duration
DOffsetDateTime.java301 public java.time.OffsetDateTime plusMinutes(long minutes) { in plusMinutes() method in OffsetDateTime