protected void processMinMaxRecordTime() {
    if (this.javaDate == null) {
      return;
    }
    final Calendar cal = GregorianCalendar.getInstance();
    cal.setTime(this.javaDate);
    if (this.minRecordTime == null) {
      this.minRecordTime = this.javaDate;
    } else {
      final Calendar calchk2 = GregorianCalendar.getInstance();
      calchk2.setTime(this.minRecordTime);
      if (calchk2.after(cal)) {
        this.minRecordTime = this.javaDate;
      }
    }
    if (this.maxRecordTime == null) {
      this.maxRecordTime = this.javaDate;
    } else {
      final Calendar calchk2 = GregorianCalendar.getInstance();
      calchk2.setTime(this.maxRecordTime);
      if (calchk2.before(cal)) {
        this.maxRecordTime = this.javaDate;
      }
    }
    if (this.maxRecordTime != null && this.minRecordTime != null) {
      final long diff = this.maxRecordTime.getTime() - this.minRecordTime.getTime();
      this.diffTimeMinutes = (diff / 1000.0) / (60.0);
    }
  }