private DoubleDate handleUntimedTask(String[] words, int indexOfDate1,
            int indexOfDate2, int indexOfFrom, int indexOfTo) {
        DoubleDate result = null;
        boolean noTime = false;
        boolean isNext = false;
        if (indexOfDate1 != words.length - 1 && indexOfDate1 > -1) {
            String toDateFormat = convertToDateFormat(words, indexOfDate1);
            String time1 = "";
            isNext = isNextDate(words[indexOfDate1]);
            if (isNext && indexOfDate1 != words.length - 2) {
                time1 = words[indexOfDate1 + 2];
            } else {
                time1 = words[indexOfDate1 + 1];
            }
            result = getDoubleDateTime(toDateFormat, null, time1, null);
            if (result.getDate1() != null) {
                if (isNext) {
                    int[] toAdd = { indexOfDate1, indexOfDate1 + 1,
                            indexOfDate1 + 2 };
                    addToUsedWords(toAdd);
                } else {
                    int[] toAdd = { indexOfDate1, indexOfDate1 + 1 };
                    addToUsedWords(toAdd);
                }
            } else {
                noTime = true;
            }
        } else if (indexOfDate1 < 0) {
            return new DoubleDate(null, null);
        } else {
            noTime = true;
        }
        if (noTime) {
            result = handleUntimedDateOnly(words, indexOfDate1, isNext);
        }
        return result;
    }