|  | @@ -562,9 +562,9 @@ public class DateUtil {
 | 
	
		
			
				|  |  |  			return 0;
 | 
	
		
			
				|  |  |  		}
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -        LocalDate localDate1 = early.toInstant().atZone(zoneId).toLocalDate();
 | 
	
		
			
				|  |  | -        LocalDate localDate2 = late.toInstant().atZone(zoneId).toLocalDate();
 | 
	
		
			
				|  |  | -        return (int) (localDate2.toEpochDay() - localDate1.toEpochDay());
 | 
	
		
			
				|  |  | +        long epochSecond = early.toInstant().getEpochSecond();
 | 
	
		
			
				|  |  | +        long epochSecond1 = late.toInstant().getEpochSecond();
 | 
	
		
			
				|  |  | +        return (int) (epochSecond1 - epochSecond)/(24*60*60)  ;
 | 
	
		
			
				|  |  |  //		Calendar c1 = Calendar.getInstance();
 | 
	
		
			
				|  |  |  //		Calendar c2 = Calendar.getInstance();
 | 
	
		
			
				|  |  |  //		c1.setTime(early);
 | 
	
	
		
			
				|  | @@ -1517,7 +1517,7 @@ public class DateUtil {
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  	public static void main(String[] args) throws ParseException {
 | 
	
		
			
				|  |  |          Date from = Date.from(LocalDateTime.of(2024, 7, 27, 23, 59, 59).atZone(ZoneId.systemDefault()).toInstant());
 | 
	
		
			
				|  |  | -        Date start = Date.from(LocalDateTime.of(2024, 7, 26, 7, 59, 59).atZone(ZoneId.systemDefault()).toInstant());
 | 
	
		
			
				|  |  | +        Date start = Date.from(LocalDateTime.of(2024, 7, 27, 23, 59, 59).atZone(ZoneId.systemDefault()).toInstant());
 | 
	
		
			
				|  |  |          System.out.println(daysBetween(start, from));
 | 
	
		
			
				|  |  |  		// DateFormat df = new SimpleDateFormat("yyyy-MM-dd");
 | 
	
		
			
				|  |  |  //		DateFormat df1 = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
 |