private boolean isPassTimeCheck(Task task, String start, String end) {
        if (start.isEmpty() && end.isEmpty()) {
            return true;
        }
        String taskStart = task.getValue(Keyword.START);
        String taskEnd = task.getValue(Keyword.END);
        if (Keyword.getMeaning(task.getValue(Keyword.TYPE))
                   .equals(Keyword.DEADLINE)) {
            taskStart = taskEnd;
        }
        Clock clock = new Clock();
        if (!start.isEmpty()) {
            if (clock.parseFromCommonFormat(start) > 
                clock.parseFromCommonFormat(taskEnd)) {
                return false;
            }
        }
        if (!end.isEmpty()) {
            if (clock.parseFromCommonFormat(end) < 
                clock.parseFromCommonFormat(taskStart)) {
                return false;
            }
        }
        return true;
    }