|
@@ -280,7 +280,7 @@ public class Date8Util {
|
|
|
LocalDate localDate2=LocalDate.of(Integer.parseInt(date2.substring(0,4)),
|
|
|
Integer.parseInt(date2.substring(4)),1);
|
|
|
|
|
|
- return Period.between(localDate1,localDate2).getMonths();
|
|
|
+ return Period.between(localDate1,localDate2).getYears()*12+ Period.between(localDate1,localDate2).getMonths();
|
|
|
}
|
|
|
|
|
|
public static int between(String date){
|