Home
last modified time | relevance | path

Searched refs:minDays (Results 1 – 4 of 4) sorted by relevance

/libcore/ojluni/src/test/java/time/tck/java/time/temporal/
DTCKWeekFields.java95 public void test_of_DayOfWeek_int_singleton(DayOfWeek firstDayOfWeek, int minDays) { in test_of_DayOfWeek_int_singleton() argument
96 WeekFields week = WeekFields.of(firstDayOfWeek, minDays); in test_of_DayOfWeek_int_singleton()
98 assertEquals(week.getMinimalDaysInFirstWeek(), minDays, "Incorrect MinimalDaysInFirstWeek"); in test_of_DayOfWeek_int_singleton() local
99 assertSame(WeekFields.of(firstDayOfWeek, minDays), week); in test_of_DayOfWeek_int_singleton()
104 public void test_basics(DayOfWeek firstDayOfWeek, int minDays) { in test_basics() argument
105 WeekFields week = WeekFields.of(firstDayOfWeek, minDays); in test_basics()
151 public void test_dayOfWeekField(DayOfWeek firstDayOfWeek, int minDays) { in test_dayOfWeekField() argument
153 WeekFields week = WeekFields.of(firstDayOfWeek, minDays); in test_dayOfWeekField()
163 public void test_weekOfMonthField(DayOfWeek firstDayOfWeek, int minDays) { in test_weekOfMonthField() argument
165 WeekFields week = WeekFields.of(firstDayOfWeek, minDays); in test_weekOfMonthField()
[all …]
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/serial/
DTCKWeekFieldsSerialization.java83 …public void test_serializable_singleton(DayOfWeek firstDayOfWeek, int minDays) throws IOException,… in test_serializable_singleton() argument
84 WeekFields weekDef = WeekFields.of(firstDayOfWeek, minDays); in test_serializable_singleton()
94 for (int minDays = 1; minDays <= 7; minDays++) { in data_weekFields()
95 objects[i++] = new Object[] {firstDayOfWeek, minDays}; in data_weekFields()
/libcore/ojluni/src/test/java/time/test/java/time/chrono/
DTestIsoChronoImpl.java125 for (int minDays = 1; minDays <= 7; minDays++) { in test_DayOfWeek_IsoChronology_vsCalendar()
126 WeekFields weekDef = WeekFields.of(firstDayOfWeek, minDays); in test_DayOfWeek_IsoChronology_vsCalendar()
128 cal.setMinimalDaysInFirstWeek(minDays); in test_DayOfWeek_IsoChronology_vsCalendar()
/libcore/ojluni/src/test/java/time/test/java/time/
DTestOffsetDateTime_instants.java235 …long minDays = (minYear * 365L + ((minYear + minOffset) / 4L - (minYear + minOffset) / 100L + (min… in doTest_factory_ofInstant_all() local
240 for (long i = minDays; i < maxDays; i++) { in doTest_factory_ofInstant_all()