Skip to content

Commit 7ffbddb

Browse files
committed
주석 추가
1 parent 92e89a2 commit 7ffbddb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/com/back/domain/study/plan/service/StudyPlanService.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,8 @@ private boolean shouldRepeatOnDate(StudyPlan originalPlan, LocalDate targetDate)
197197

198198
case WEEKLY:
199199
if (repeatRule.getByDay() != null && !repeatRule.getByDay().isEmpty()) {
200-
// string으로 요일을 뽑아낸 뒤 enum으로 변환
200+
// string으로 요일을 뽑아낸 뒤 enum으로 변환.
201+
// 비교해서 포함되지 않으면 false
201202
DayOfWeek targetDayOfWeek = DayOfWeek.valueOf(targetDate.getDayOfWeek().name().substring(0, 3));
202203
if (!repeatRule.getByDay().contains(targetDayOfWeek)) {
203204
return false;

0 commit comments

Comments
 (0)