您可以
add在上使用方法
Calendar:
public static String endTime = "";DateFormat timeFormat = new SimpleDateFormat("HH:mm:ss");Calendar cal = Calendar.getInstance();cal.add(Calendar.MINUTE, 10)endTime = timeFormat.format(cal.getTime());`在Javadoc中找到,花了我30秒钟。

您可以
add在上使用方法
Calendar:
public static String endTime = "";DateFormat timeFormat = new SimpleDateFormat("HH:mm:ss");Calendar cal = Calendar.getInstance();cal.add(Calendar.MINUTE, 10)endTime = timeFormat.format(cal.getTime());`在Javadoc中找到,花了我30秒钟。