Calendar c = Calendar.getInstance();
SimpleDateFormat s = new SimpleDateFormat("yyyy-MMdd");
Date d = s.parse("20 11-0418");
c.setTime(d);
int day = c.get(Calendar.DAY_OF_MONTH);
c.set(Calendar.DAY_OF_MONTH,day+12); //添加12天
System.out.println(c.getTime());
SimpleDateFormat s = new SimpleDateFormat("yyyy-MMdd");
Date d = s.parse("20 11-0418");
c.setTime(d);
int day = c.get(Calendar.DAY_OF_MONTH);
c.set(Calendar.DAY_OF_MONTH,day+12); //添加12天
System.out.println(c.getTime());