private void processAddEarlierCase() throws ParseException {
        if (hasOptionsForAddEarlier()) {
            String message = processMessage();
            Date startDate = processStartDate(true);
            Date endDate = processEndDate(true);
            WorklogEntry worklogEntry = new WorklogEntry(startDate, endDate, message);
            timeTracker.addEarlier(worklogEntry);
        } else {
            throwMissingOptionException("The startDate, endDate, message is required for addEarlier option.");
        }
    }