자바1 날짜 며칠 전으로 ... -1234567891011121314151617// 며칠 전 계산public static int[] fewDaysAgo(int beforeDay) { Calendar cal = Calendar.getInstance(); cal.add(Calendar.MONTH, +1); int temp = cal.get(Calendar.DAY_OF_MONTH); if (beforeDay 2017. 5. 6. 이전 1 다음