int lasyDay = 0; //마지막 날짜 변수
Calendar cal = Calendar.getInstance();
cal.set(year,month-1,1); //Calendar에서는 1월이 0이므로 우리가 사용하는 월에서 -1 해줘야 합니다.
lastDay = cal.getActualMaximum(Calendar.DATE);
이번에는 딱히 설명드릴것이 없네요..
위 소스를 참고하시면 됩니다 ^^
[jsp] IE에서 [이 페이지 나가기] 창이 뜰 경우 (0) | 2013.09.09 |
---|---|
[jsp] Open quote is expected for attribute "id" associated with an element type "bean" 오류 (0) | 2013.08.19 |
[jsp] maven install시 invalid LOC header 오류 (0) | 2013.08.13 |
[tomcat] Can't load AMD 64-bit .dll on a IA 32-bit platform 오류 (5) | 2013.08.09 |
[jsp] illegal to have multiple occurrences of contentType with different values 오류 (0) | 2013.08.08 |
댓글 영역