Searched refs:ofMinutes (Results 1 – 10 of 10) sorted by relevance
/libcore/luni/src/test/java/libcore/java/time/ |
D | TimeApisConsistencyTest.java | 90 Set.of(Duration.ZERO, Duration.ofMinutes(30), Duration.ofMinutes(-30),
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | TCKDuration.java | 236 Duration test = Duration.ofMinutes(2); in factory_minutes() 243 Duration test = Duration.ofMinutes(Long.MAX_VALUE / 60); in factory_minutes_max() 250 Duration test = Duration.ofMinutes(Long.MIN_VALUE / 60); in factory_minutes_min() 257 Duration.ofMinutes(Long.MAX_VALUE / 60 + 1); in factory_minutes_tooBig() 262 Duration.ofMinutes(Long.MIN_VALUE / 60 - 1); in factory_minutes_tooSmall() 1282 Duration t = Duration.ofMinutes(minutes); in plusMinutes_long() 1289 Duration t = Duration.ofMinutes(1); in plusMinutes_long_overflowTooBig() 1295 Duration t = Duration.ofMinutes(-1); in plusMinutes_long_overflowTooSmall() 1901 Duration t = Duration.ofMinutes(minutes); in minusMinutes_long() 1908 Duration t = Duration.ofMinutes(Long.MAX_VALUE/60); in minusMinutes_long_overflowTooBig() [all …]
|
D | TCKYear.java | 528 {Duration.ofMinutes(1)}, in data_plusInvalidUnit() 660 {Duration.ofMinutes(1)}, in data_minusInvalidUnit()
|
D | TCKInstant.java | 561 return Duration.ofMinutes(90); 596 return Duration.ofMinutes(95);
|
D | TCKYearMonth.java | 820 {YearMonth.of(1, 1), Duration.ofMinutes(365*24*60), null, DateTimeException.class}, in data_plus_TemporalAmount() 1035 {YearMonth.of(1, 1), Duration.ofMinutes(365*24*60), null, DateTimeException.class}, in data_minus_TemporalAmount()
|
D | TCKLocalTime.java | 1308 return Duration.ofMinutes(90); 1343 return Duration.ofMinutes(95);
|
/libcore/ojluni/annotations/hiddenapi/java/time/ |
D | Duration.java | 85 public static java.time.Duration ofMinutes(long minutes) { in ofMinutes() method in Duration
|
/libcore/ojluni/src/test/java/util/concurrent/tck/ |
D | TimeUnit8Test.java | 121 assertEquals(n, MINUTES.convert(Duration.ofMinutes(n))); in testConvertDuration_roundtripDurationOf()
|
/libcore/ojluni/src/main/java/java/time/ |
D | Duration.java | 205 public static Duration ofMinutes(long minutes) { in ofMinutes() method in Duration
|
/libcore/api/ |
D | current.txt | 11241 method public static java.time.Duration ofMinutes(long);
|