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