Searched refs:ofWeeks (Results 1 - 2 of 2) sorted by relevance
/libcore/ojluni/src/test/java/time/tck/java/time/ |
H A D | TCKPeriod.java | 118 // ofWeeks(int) 122 assertPeriod(Period.ofWeeks(0), 0, 0, 0); 123 assertPeriod(Period.ofWeeks(1), 0, 0, 7); 124 assertPeriod(Period.ofWeeks(234), 0, 0, 234 * 7); 125 assertPeriod(Period.ofWeeks(-100), 0, 0, -100 * 7); 126 assertPeriod(Period.ofWeeks(Integer.MAX_VALUE / 7), 0, 0, (Integer.MAX_VALUE / 7) * 7); 127 assertPeriod(Period.ofWeeks(Integer.MIN_VALUE / 7), 0, 0, (Integer.MIN_VALUE / 7) * 7);
|
/libcore/ojluni/src/main/java/java/time/ |
H A D | Period.java | 202 public static Period ofWeeks(int weeks) { method in class:Period 310 * "P4W" -- Period.ofWeeks(4)
|
Completed in 226 milliseconds