Home
last modified time | relevance | path

Searched refs:minimalDaysInFirstWeek (Results 1 – 8 of 8) sorted by relevance

/libcore/luni/src/test/java/libcore/java/util/
DCalendarWeekOfMonthTest.java42 private final int minimalDaysInFirstWeek; field in CalendarWeekOfMonthTest
209 int minimalDaysInFirstWeek, int expectedWeekOfMonth) { in CalendarWeekOfMonthTest() argument
213 this.minimalDaysInFirstWeek = minimalDaysInFirstWeek; in CalendarWeekOfMonthTest()
222 calendar.setMinimalDaysInFirstWeek(minimalDaysInFirstWeek); in test()
232 + ", minimalDaysInFirstWeek=" + minimalDaysInFirstWeek in toString()
/libcore/ojluni/src/main/java/java/util/
DCalendar.java922 private int minimalDaysInFirstWeek; field in Calendar
1085 private int firstDayOfWeek, minimalDaysInFirstWeek; field in Calendar.Builder
1412 public Builder setWeekDefinition(int firstDayOfWeek, int minimalDaysInFirstWeek) { in setWeekDefinition() argument
1414 || !isValidWeekParameter(minimalDaysInFirstWeek)) { in setWeekDefinition()
1418 this.minimalDaysInFirstWeek = minimalDaysInFirstWeek; in setWeekDefinition()
1508 cal.setMinimalDaysInFirstWeek(minimalDaysInFirstWeek); in build()
2698 minimalDaysInFirstWeek == that.minimalDaysInFirstWeek && in equals()
2719 | (minimalDaysInFirstWeek << 4) in hashCode()
2979 if (minimalDaysInFirstWeek == value) { in setMinimalDaysInFirstWeek()
2982 minimalDaysInFirstWeek = value; in setMinimalDaysInFirstWeek()
[all …]
/libcore/ojluni/src/main/java/java/time/temporal/
DWeekFields.java291 return WeekFields.of(dow, weekData.minimalDaysInFirstWeek); in of()
314 public static WeekFields of(DayOfWeek firstDayOfWeek, int minimalDaysInFirstWeek) { in of() argument
315 String key = firstDayOfWeek.toString() + minimalDaysInFirstWeek; in of()
318 rules = new WeekFields(firstDayOfWeek, minimalDaysInFirstWeek); in of()
333 private WeekFields(DayOfWeek firstDayOfWeek, int minimalDaysInFirstWeek) { in WeekFields() argument
335 if (minimalDaysInFirstWeek < 1 || minimalDaysInFirstWeek > 7) { in WeekFields()
339 this.minimalDays = minimalDaysInFirstWeek; in WeekFields()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DGregorianCalendarTest.java684 int minimalDaysInFirstWeek = g.getMinimalDaysInFirstWeek(); in test_getMinimalDaysInFirstWeek() local
685 assertEquals(4, minimalDaysInFirstWeek); in test_getMinimalDaysInFirstWeek()
689 minimalDaysInFirstWeek = g.getMinimalDaysInFirstWeek(); in test_getMinimalDaysInFirstWeek()
690 assertEquals(4, minimalDaysInFirstWeek); in test_getMinimalDaysInFirstWeek()
694 minimalDaysInFirstWeek = g.getMinimalDaysInFirstWeek(); in test_getMinimalDaysInFirstWeek()
695 assertEquals(1, minimalDaysInFirstWeek); in test_getMinimalDaysInFirstWeek()
/libcore/ojluni/annotations/hiddenapi/java/util/
DCalendar.java580 private int minimalDaysInFirstWeek; field in Calendar
668 int firstDayOfWeek, int minimalDaysInFirstWeek) { in setWeekDefinition() argument
712 private int minimalDaysInFirstWeek; field in Calendar.Builder
/libcore/luni/src/main/java/libcore/icu/
DLocaleData.java106 public Integer minimalDaysInFirstWeek; field in LocaleData
409 minimalDaysInFirstWeek = calendar.getMinimalDaysInFirstWeek(); in initializeCalendarData()
/libcore/ojluni/annotations/sdk/nullability/java/util/
DCalendar.annotated.java301 ….util.Calendar.Builder setWeekDefinition(int firstDayOfWeek, int minimalDaysInFirstWeek) { throw n… in setWeekDefinition() argument
/libcore/luni/src/test/java/libcore/libcore/icu/
DLocaleDataTest.java207 assertEquals(localeData.minimalDaysInFirstWeek, in assertRootDataEqualsToTargetLocaleData()