private List<FSQEvent> processEventData(List<FSQEvent> events, List<Foursquare> fsqData) throws ParseException {
		// TODO Auto-generated method stub
		List<FSQEvent> list=new ArrayList<FSQEvent>();
		try {
			for (Foursquare fsq : fsqData) {
					JSONObject eventJson=new JSONObject(fsq.getData());
					long dateEpoch=eventJson.getLong("createdAt");
					Date date = new Date(dateEpoch*1000);
					DateFormat formatter = new SimpleDateFormat("yyyy-MM-dd");
					String date1= formatter.format(date);
					if(date1.equals(this.date)){
						FSQEvent event=new FSQEvent();
						if(eventJson.has("shout")){
							event.setMessage(eventJson.getString("shout"));
							event.setMood(SentimentClassifier.classify(event.getMessage()));
						}				
						
						event.setLocation(eventJson.getJSONObject("venue").getString("name"));
						JSONObject loc=eventJson.getJSONObject("venue").getJSONObject("location");
						event.setLat(loc.getDouble("lat"));
						event.setLon(loc.getDouble("lng"));
						if(eventJson.has("with")){
							ArrayList<String> tags=new ArrayList<>();
							JSONArray tagArray=eventJson.getJSONArray("with");
							for (int i=0;i<tagArray.length();i++) {
								tags.add(tagArray.getJSONObject(i).getString("firstName")+" "+tagArray.getJSONObject(i).getString("lastName"));
							}
							event.setTags(tags);
						}
						DateFormat formatter1 = new SimpleDateFormat("hh:MM:ss");
						String time= formatter1.format(date);
						event.setTime(time);
						list.add(event);
						
					}
					
				} 
			}
			catch (JSONException e) {
				// TODO Auto-generated catch block
				e.printStackTrace();
			}
		return list;
	}