code: public static long getDaysBetweenIgnoreTime(String startDate, String endDate, Format format) {
          SimpleDateFormat localFormat = (SimpleDateFormat) format;
          try {
              java.util.Date startDay = localFormat.parse(startDate);
              java.util.Date endDay = localFormat.parse(endDate);
              return getDaysBetweenIgnoreTime(startDay, endDay);
          } catch (Exception e) {
              return 0;
          }
      }
docs: 不考虑时间求天数差
  
  @param startDate 开始时间
  @param endDate   结束时间