D-DAY 계산
D-DAY 계산Calendar today = Calendar.getInstance();Calendar dday = Calendar.getInstance(); String eDate = "2019-11-08"; // 예시 int dyear = Integer.parseInt(eDate.substring(0, 4));int dmonth = Integer.parseInt(eDate.substring(5, 7));int ddate = Integer.parseInt(eDate.substring(8, 10)); dday.set(dyear, dmonth-1, ddate); long l_dday = dday.getTimeInMillis() / (24*60*60*1000);long l_today = today.getTim..