totalMin += findMinuteOverlap( cI, pI);
int min = findMinuteOverlap( cI, pI); totalMin += min; if (logger.isDebugEnabled()) { logger.debug(">> In ClockInterval "+pI.hr+", Min overlap = "+min); } if (durationHrs <23) { if (logger.isDebugEnabled()) { logger.debug(">> In ClockInterval. Less than 24 hr interval, so stop looking for more matches. "); } break; }
    protected static int computeOverlap(ClockInterval[] currentIntervals, ClockInterval[] probIntervals) {                    ClockInterval cI, pI;        int totalMin = 0;                //Look for matching interval        for (int i = 0; i<currentIntervals.length; i++) {            cI = currentIntervals[i];                        //Look for matching interval            for (int j = 0; j<probIntervals.length; j++) {                            pI = probIntervals[j];                        if (pI.hr == cI.hr) {                    totalMin += findMinuteOverlap( cI, pI);                }                            }        }                return totalMin;    }