java获取时间段耗时:x时x分x秒
public static String takeTime(Date end, Date start){
if(end == null || start == null) return "";
long take = end.getTime() - start.getTime();
long s = take/1000;
long m = s/60;
long h = m/60;
return String.format("%s时%s分%s秒",h,m%60,s%60);
}