You are right, I changed the code like this :
```java
for (int offset = 0; offset < 7; offset++) {
	    today.set(Calendar.DAY_OF_WEEK, firstDayOfWeek + offset);
```