일요일1 Calendar 로 해당 일의 특정요일의 날짜 및, 이전 주, 다음 주 날짜 구하기 아오, Calendar 은 써도 써도 모르겠다. 헷갈리네;;뭔가 버그도 있는거 같고. 해당 소스는 원하는 일자를 입력받아서 그 날짜가 해당한 주의 특정요일의 날짜를 구하는 소스임시작요일은 일요일부터... package com.test; import java.util.Calendar; public class calender { public static void main(String[] args) { int tYear = 2013; int tMonth = 10; int tDate = 1; Calendar cal = Calendar.getInstance(); cal.set(tYear, tMonth-1, tDate); System.out.println("입력된 날짜 : " + cal.getTime()); cal.. 2013. 10. 9. 이전 1 다음