public static long acquireMinutesBetween(final LocalDateTime start, final LocalDateTime end) {
        return start.until(end, ChronoUnit.MINUTES);
    }
acquireMinutesBetween.

@param start this is start date.
@param end   this is start date.
@return The number of days between start and end, if end is after start,
    returns a positive number, otherwise returns a negative number.
shenyu-common/src/main/java/org/apache/shenyu/common/utils/DateUtils.java