Calandar cal=new GregorianCalendar();
SimpleDateFormat sdf=new SimpleDateFormat("yyyyMMdd");cal.setTime(sdf.parse("20040821"));
cal.add(Calendar.DAY_OF_MONTH,7);
System.out.println(sdf.format(cal.getTime()));