/libcore/ojluni/src/main/java/java/time/ |
Period.java | 215 public static Period ofDays(int days) { 311 * "P5D" -- Period.ofDays(5) [all...] |
Duration.java | 172 public static Duration ofDays(long days) { [all...] |
/libcore/ojluni/src/main/java/java/time/format/ |
Parsed.java | 544 updateCheckConflict(LocalTime.ofNanoOfDay(nod), Period.ofDays(excessDays)); 550 updateCheckConflict(LocalTime.MIDNIGHT, Period.ofDays(1));
|
/libcore/ojluni/src/test/java/time/tck/java/time/format/ |
TCKDateTimeParseResolver.java | 568 {ResolverStyle.LENIENT, 23, 59, 60, 123456789, LocalTime.of(0, 0, 0, 123456789), Period.ofDays(1)}, 571 {ResolverStyle.SMART, 24, 0, 0, 0, LocalTime.of(0, 0, 0, 0), Period.ofDays(1)}, 572 {ResolverStyle.LENIENT, 24, 0, 0, 0, LocalTime.of(0, 0, 0, 0), Period.ofDays(1)}, 576 {ResolverStyle.LENIENT, 24, 1, 0, 0, LocalTime.of(0, 1, 0, 0), Period.ofDays(1)}, 580 {ResolverStyle.LENIENT, 25, 0, 0, 0, LocalTime.of(1, 0, 0, 0), Period.ofDays(1)}, 584 {ResolverStyle.LENIENT, 49, 2, 3, 4, LocalTime.of(1, 2, 3, 4), Period.ofDays(2)}, 588 {ResolverStyle.LENIENT, -1, 2, 3, 4, LocalTime.of(23, 2, 3, 4), Period.ofDays(-1)}, 592 {ResolverStyle.LENIENT, -6, 2, 3, 4, LocalTime.of(18, 2, 3, 4), Period.ofDays(-1)}, 596 {ResolverStyle.LENIENT, 25, 61, 61, 1_123456789, LocalTime.of(2, 2, 2, 123456789), Period.ofDays(1)}, [all...] |
/libcore/ojluni/src/test/java/time/tck/java/time/ |
TCKPeriod.java | 131 // ofDays(int) 135 assertPeriod(Period.ofDays(0), 0, 0, 0); 136 assertPeriod(Period.ofDays(1), 0, 0, 1); 137 assertPeriod(Period.ofDays(234), 0, 0, 234); 138 assertPeriod(Period.ofDays(-100), 0, 0, -100); 139 assertPeriod(Period.ofDays(Integer.MAX_VALUE), 0, 0, Integer.MAX_VALUE); 140 assertPeriod(Period.ofDays(Integer.MIN_VALUE), 0, 0, Integer.MIN_VALUE); 296 {"P1W", Period.ofDays(1 * 7)}, 297 {"P12W", Period.ofDays(12 * 7)}, 298 {"P7654321W", Period.ofDays(7654321 * 7)} [all...] |
/prebuilts/sdk/current/ |
core.jar | |