Searched refs:ofMinutes (Results 1 – 7 of 7) sorted by relevance
/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | TCKDuration.java | 234 Duration test = Duration.ofMinutes(2); in factory_minutes() 241 Duration test = Duration.ofMinutes(Long.MAX_VALUE / 60); in factory_minutes_max() 248 Duration test = Duration.ofMinutes(Long.MIN_VALUE / 60); in factory_minutes_min() 255 Duration.ofMinutes(Long.MAX_VALUE / 60 + 1); in factory_minutes_tooBig() 260 Duration.ofMinutes(Long.MIN_VALUE / 60 - 1); in factory_minutes_tooSmall() 1255 Duration t = Duration.ofMinutes(minutes); in plusMinutes_long() 1262 Duration t = Duration.ofMinutes(1); in plusMinutes_long_overflowTooBig() 1268 Duration t = Duration.ofMinutes(-1); in plusMinutes_long_overflowTooSmall() 1874 Duration t = Duration.ofMinutes(minutes); in minusMinutes_long() 1881 Duration t = Duration.ofMinutes(Long.MAX_VALUE/60); in minusMinutes_long_overflowTooBig() [all …]
|
D | TCKYear.java | 508 {Duration.ofMinutes(1)}, in data_plusInvalidUnit() 640 {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 | 1280 return Duration.ofMinutes(90); 1315 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/main/java/java/time/ |
D | Duration.java | 202 public static Duration ofMinutes(long minutes) { in ofMinutes() method in Duration
|