Home
last modified time | relevance | path

Searched refs:plusMinutes (Results 1 – 18 of 18) 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()
DZonedDateTime.java1739 public ZonedDateTime plusMinutes(long minutes) { in plusMinutes() method in ZonedDateTime
1740 return resolveInstant(dateTime.plusMinutes(minutes)); in plusMinutes()
1985 …return (minutes == Long.MIN_VALUE ? plusMinutes(Long.MAX_VALUE).plusMinutes(1) : plusMinutes(-minu… in minusMinutes()
DDuration.java755 public Duration plusMinutes(long minutesToAdd) { in plusMinutes() method in Duration
901 …return (minutesToSubtract == Long.MIN_VALUE ? plusMinutes(Long.MAX_VALUE).plusMinutes(1) : plusMin… in minusMinutes()
DLocalTime.java864 case MINUTE_OF_DAY: return plusMinutes(newValue - (hour * 60 + minute)); in with()
1068 case MINUTES: return plusMinutes(amountToAdd); in plus()
1108 public LocalTime plusMinutes(long minutesToAdd) { in plusMinutes() method in LocalTime
1254 return plusMinutes(-(minutesToSubtract % MINUTES_PER_DAY)); in minusMinutes()
DOffsetTime.java907 public OffsetTime plusMinutes(long minutes) { in plusMinutes() method in OffsetTime
908 return with(time.plusMinutes(minutes), offset); in plusMinutes()
DLocalDateTime.java1178 case MINUTES: return plusMinutes(amountToAdd); in plus()
1301 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.java248 OffsetDateTime test = base.plusMinutes(0); in test_plusMinutes_zero()
/libcore/ojluni/src/main/java/java/time/chrono/
DChronoLocalDateTimeImpl.java307 case MINUTES: return plusMinutes(amountToAdd); in plus()
324 private ChronoLocalDateTimeImpl<D> plusMinutes(long minutes) { in plusMinutes() method in ChronoLocalDateTimeImpl
/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
/libcore/ojluni/src/test/java/time/tck/java/time/
DTCKLocalTime.java1561 t = t.plusMinutes(1); in test_plusMinutes_one()
1578 LocalTime t = base.plusMinutes(i); in test_plusMinutes_fromZero()
1599 LocalTime t = TEST_12_30_40_987654321.plusMinutes(0); in test_plusMinutes_noChange_equal()
1605 LocalTime t = TEST_12_30_40_987654321.plusMinutes(24 * 60); in test_plusMinutes_noChange_oneDay_equal()
1611 LocalTime t = LocalTime.of(23, 59).plusMinutes(1); in test_plusMinutes_toMidnight_equal()
1617 LocalTime t = LocalTime.of(11, 59).plusMinutes(1); in test_plusMinutes_toMidday_equal()
1623 LocalTime t = LocalTime.of(2, 30).plusMinutes(Long.MAX_VALUE); in test_plusMinutes_big()
1625 assertEquals(t, LocalTime.of(2, 30).plusMinutes(mins)); in test_plusMinutes_big()
DTCKLocalDateTime.java1821 t = t.plusMinutes(1);
1841 LocalDateTime dt = base.plusMinutes(i);
1842 t = t.plusMinutes(1);
1855 LocalDateTime t = TEST_2007_07_15_12_30_40_987654321.plusMinutes(24 * 60);
2534 t = t.plusMinutes(1);
DTCKDuration.java1283 t = t.plusMinutes(amount); in plusMinutes_long()
1290 t.plusMinutes(Long.MAX_VALUE/60); in plusMinutes_long_overflowTooBig()
1296 t.plusMinutes(Long.MIN_VALUE/60); in plusMinutes_long_overflowTooSmall()
DTCKOffsetTime.java925 OffsetTime test = base.plusMinutes(30);
932 OffsetTime test = base.plusMinutes(0);
DTCKZonedDateTime.java1778 assertEquals(base.plusMinutes(amount * 60), expected);
1785 ZonedDateTime test = base.plusMinutes(30);
1786 assertEquals(test, ZonedDateTime.of(ldt.plusMinutes(30), ZONE_0100));
DTCKOffsetDateTime.java993 OffsetDateTime test = base.plusMinutes(30);
/libcore/api/
Dcurrent.txt11455 method public java.time.Duration plusMinutes(long);
11657 method public java.time.LocalDateTime plusMinutes(long);
11721 method public java.time.LocalTime plusMinutes(long);
11849 method public java.time.OffsetDateTime plusMinutes(long);
11918 method public java.time.OffsetTime plusMinutes(long);
12147 method public java.time.ZonedDateTime plusMinutes(long);