Skip to content

Commit 7e2a8bc

Browse files
committed
Add comment.
1 parent d7c5e54 commit 7e2a8bc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/practice/CalendarClass.java

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
public class CalendarClass {
66

7-
// DATE와 DAY_OF_MONTH는 같다.
87
private Calendar cal = null;
98
// 요일 표시
109
private String[] header = { "SUN", "MON", "TUE", "WED", "THU", "FRI", "SAT" };
@@ -38,7 +37,7 @@ public CalendarClass(int year, int month) throws Exception {
3837

3938
tableRows = cal.getActualMaximum(Calendar.WEEK_OF_MONTH);
4039
startDayOfWeek = cal.get(Calendar.DAY_OF_WEEK);
41-
endDate = cal.getActualMaximum(Calendar.DATE);
40+
endDate = cal.getActualMaximum(Calendar.DATE); // DATE와 DAY_OF_MONTH는 같다.
4241
}
4342

4443
}

0 commit comments

Comments
 (0)