Home
last modified time | relevance | path

Searched refs:ofMinutes (Results 1 – 7 of 7) sorted by relevance

/libcore/ojluni/src/test/java/time/tck/java/time/
DTCKDuration.java234 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 …]
DTCKYear.java508 {Duration.ofMinutes(1)}, in data_plusInvalidUnit()
640 {Duration.ofMinutes(1)}, in data_minusInvalidUnit()
DTCKInstant.java561 return Duration.ofMinutes(90);
596 return Duration.ofMinutes(95);
DTCKYearMonth.java820 {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()
DTCKLocalTime.java1280 return Duration.ofMinutes(90);
1315 return Duration.ofMinutes(95);
/libcore/ojluni/annotations/hiddenapi/java/time/
DDuration.java85 public static java.time.Duration ofMinutes(long minutes) { in ofMinutes() method in Duration
/libcore/ojluni/src/main/java/java/time/
DDuration.java202 public static Duration ofMinutes(long minutes) { in ofMinutes() method in Duration