Home
last modified time | relevance | path

Searched refs:ofWeeks (Results 1 – 2 of 2) sorted by relevance

/libcore/ojluni/src/test/java/time/tck/java/time/
DTCKPeriod.java122 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/
DPeriod.java202 public static Period ofWeeks(int weeks) { in ofWeeks() method in Period