Home
last modified time | relevance | path

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

/libcore/ojluni/src/test/java/time/tck/java/time/temporal/
DTCKWeekFields.java252 int weekStart = Math.floorMod(1 - dow, 7); in test_weekOfWeekBasedYearField() local
253 if (weekStart + 1 > weekDef.getMinimalDaysInFirstWeek()) { in test_weekOfWeekBasedYearField()
255 weekStart -= 7; in test_weekOfWeekBasedYearField()
257 weekStart += actualDOW - 1; in test_weekOfWeekBasedYearField()
258 weekStart += (actualWOWBY - 1) * 7; in test_weekOfWeekBasedYearField()
259 LocalDate result = day1.plusDays(weekStart); in test_weekOfWeekBasedYearField()
263 … weekDef, day.getDayOfWeek(), weekStart, actualDOW, actualWOWBY, actualYOWBY, day, result)); in test_weekOfWeekBasedYearField()
/libcore/ojluni/src/main/java/java/time/temporal/
DWeekFields.java871 int weekStart = Math.floorMod(day - dow, 7); in startOfWeekOffset() local
872 int offset = -weekStart; in startOfWeekOffset()
873 if (weekStart + 1 > weekDef.getMinimalDaysInFirstWeek()) { in startOfWeekOffset()
875 offset = 7 - weekStart; in startOfWeekOffset()