package seedu.oneline.model.task;

public class TaskTime {

}

package seedu.oneline.model.task;

import seedu.oneline.commons.exceptions.IllegalValueException;

public class TaskTime {

    public static final String MESSAGE_TASK_TIME_CONSTRAINTS =
            "Task time should ...";

    public final String value;

    /**
     * Validates given email.
     *
     * @throws IllegalValueException if given email address string is invalid.
     */
    public TaskTime(String email) throws IllegalValueException {
        assert email != null;
        email = email.trim();
        if (!isValidTaskTime(email)) {
            throw new IllegalValueException(MESSAGE_TASK_TIME_CONSTRAINTS);
        }
        this.value = email;
    }

    /**
     * Returns if a given string is a valid task time.
     */
    public static boolean isValidTaskTime(String test) {
        return true; // TODO
    }

    @Override
    public String toString() {
        return value;
    }

    @Override
    public boolean equals(Object other) {
        return other == this // short circuit if same object
                || (other instanceof TaskTime // instanceof handles nulls
                && true); // state check TODO
    }

    @Override
    public int hashCode() {
        return value.hashCode();
    }
    
}

Add placeholder methods for TaskTime class