code: public static long subMinutes(final Date date1, final Date date2) {
  
      return subTime(date1, date2, DatePeriod.MINUTE);
    }
docs: Get how many minutes between two date.
  
  @param date1 date to be tested.
  @param date2 date to be tested.
  @return how many minutes between two date.