import java.text.SimpleDateFormat;
import java.util.Calendar;
public class CelanTest {
public static void main(String[] args) {
Calendar c=Calendar.getInstance();
SimpleDateFormat df=new SimpleDateFormat("yyyy/MM/dd/E");
System.out.println("今天是:"+df.format(c.getTime()));
c.add(Calendar.DATE, 3);
System.out.println("三天后:"+df.format(c.getTime()));
c.add(Calendar.DATE, -6);
System.out.println("三天前:"+df.format(c.getTime()));
}
}