如何計算兩個時間相差多少週年

1.經過字符串生成日曆實體; java public static Calendar getCalendarFromString(String dateStr, String dateFormatType) { SimpleDateFormat sdf = new SimpleDateFormat(dateFormatType); Calendar calendar
相關文章
相關標籤/搜索