IDEMPIERE-2484 Error in Calendar

This commit is contained in:
sauljabin 2015-02-28 18:20:36 -05:00
parent 980f34a564
commit 09dbc18820
1 changed files with 1 additions and 1 deletions

View File

@ -347,7 +347,7 @@ public class RequestWindow extends Window implements EventListener<Event> {
calEnd.set(Calendar.SECOND, 0); calEnd.set(Calendar.SECOND, 0);
calEnd.set(Calendar.MILLISECOND, 0); calEnd.set(Calendar.MILLISECOND, 0);
if ((cal1.get(Calendar.HOUR_OF_DAY) >= cal2.get(Calendar.HOUR_OF_DAY)) && (dbxStartPlan.getValue().compareTo(dbxCompletePlan.getValue()) == 0)) { if (calBegin.compareTo(calEnd) >= 0) {
return true; return true;
} else { } else {
return false; return false;