### Question:
CalendarUtil { public static List<Date> getWeekDaysForPosition(int startYear, int startMonth, int startDay, int positionWeek) { ArrayList<Date> dates = new ArrayList<>(); LocalDate localDate = new LocalDate(startYear, startMonth, startDay).plusWeeks(positionWeek); for (int i = 1; i <= 7; i++) { dates.add(getDate(localDate.withDayOfWeek(i), Date.TYPE_THIS_MONTH)); } return dates; }  static Date getDate(LocalDate localDate, int type); static List<List<Date>> getMonthOfWeekDates(int year, int month); static List<Date> getMonthDates(int year, int month); static List<Date> getWeekDates(int year, int month, int day); static int getDayForWeek(int y, int m, int d); static int[] positionToDate(int position, int startY, int startM); static int getMonthPosition(int year1, int month1, int year2, int month2); static int getWeekPosition(int startYear, int startMonth, int startDay, int year, int month, int day); static List<Date> getWeekDaysForPosition(int startYear, int startMonth, int startDay, int positionWeek); static LocalDate getCurrentDate(); static int getMaxDayByYearMonth(int year,int month);  }### Answer:
@Test public void getWeekDaysForPosition() throws Exception { int weekPosition = CalendarUtil.getWeekPosition(1980, 1, 1, 2018, 2, 25); List<Date> dates = CalendarUtil.getWeekDaysForPosition(1980, 1, 1, weekPosition); assertEquals(dates.get(6).toString(), "2018-02-25"); }