我现在能够获得当前时间 我现在要获得这30天后的时间,请大家帮帮忙 谢谢import java.util.Calendar;
import java.util.Date;public class Time {
public static void main(String[] args) 

java.text.SimpleDateFormat lFormat;
Date currentDate = null; 
Calendar MyDate = Calendar.getInstance();
MyDate.setTime(new java.util.Date());
currentDate = MyDate.getTime(); 
lFormat = new java.text.SimpleDateFormat("yyyyMMdd"); 
String gRtnStr = lFormat.format(currentDate);
System.out.println(gRtnStr);