package mytest; import java.util.Calendar; import java.util.Date; /** * * @author tianjun * */ public class Test { public static void main(String[] args) { //(1)java.util.Date --> java.util.Calendar Calendar calendarTime = Calendar.getInstance(); calendarTime.setTime(new Date()); //(2)java.util.Calendar --> java.util.Date Date tempDate = calendarTime.getTime(); } }?