rem:  var CheckDueTime = checkDueTime(); setDueTimeError(CheckDueTime); return !CheckDueTime; 
add: var isBadEndTime = dueDate.getTime() < startDate.getTime(); setDueTimeError(isBadEndTime); return !isBadEndTime; 
context: function checkDueSetTimeDate(){    var startCheckbox = getElementValue("start-checkbox", "checked");    var dueCheckbox   = getElementValue("due-checkbox", "checked");    if (startCheckbox && dueCheckBox) {        var CheckDueDate = checkDueDate();        if ( CheckDueDate < 0 ) {            // due before start            setDueDateError(true);            setDueTimeError(false);            return false;        } else if ( CheckDueDate == 0 ) {            setDueDateError(false);            // start & due same            var CheckDueTime = checkDueTime();            setDueTimeError(CheckDueTime);            return !CheckDueTime;        }    }    setDueDateError(false);    setDueTimeError(false);    return true;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/0e541d864b508733825e804b8ae79192359b7b42/eventDialog.js/clean/calendar/resources/content/eventDialog.js