isNegative = true;
calStart = (Calendar) cal2.clone();
calEnd = (Calendar) cal1.clone();
}
long targetMillis = calEnd.getTimeInMillis();
<BUG>long deltaMillis = targetMillis - calStart.getTimeInMillis();
</BUG>
if (deltaMillis == 0) {
return;
}

isNegative = true;
calStart = (Calendar) cal2.clone();
calEnd = (Calendar) cal1.clone();
}
long targetMillis = calEnd.getTimeInMillis();
long deltaMillis = computeDeltaMillis(calStart.getTimeInMillis(), targetMillis);
if (deltaMillis == 0) {
return;
}
