Java8 實現計算兩個日期之間的相隔多少周

查了不少資料,沒有直接獲取兩個日期之間相隔多少周。java 迂迴戰術:獲取兩個日期之間的天數。除以7等於相隔多少周。.net 參考連接:https://blog.csdn.net/kevin_mails/article/details/78440696code package com.test; import java.time.LocalDate; import java.time.Month
相關文章
相關標籤/搜索