@Override
    public boolean equals(Object o){
        Time time = (Time) o;
        if (this.hour == time.hour && this.min == time.min){
            return true;
        }
        return false;
    }