兩個字符串形式的時間計算相差多少

 //計算天數         DateFormat format = new SimpleDateFormat("yyyyMMdd");         Date sdate =  format.parse(「20131226」);         Date edate = format.parse(「20131228」);         Calendar c1 = Calendar.getI
相關文章
相關標籤/搜索