private List<CalEvent> processGCalData(List<GoogleCal> calendarData) throws ParseException {
		// TODO Auto-generated method stub
		List<CalEvent> list=new ArrayList<CalEvent>();
		try {
			for (GoogleCal cal : calendarData) {
				if(cal.getData() != null)
				{
					JSONObject eventJson=new JSONObject(cal.getData());
					JSONObject dateObject=eventJson.getJSONObject("start");
					if(dateObject.has("dateTime")){
						String dateString=dateObject.getString("dateTime");
						System.out.println(dateString);
						SimpleDateFormat incomingFormat = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss-HH:mm");
						Date date = incomingFormat.parse(dateString);
						SimpleDateFormat timeFormat = new SimpleDateFormat("HH:mm:ss");
						String time = timeFormat.format(date);
						CalEvent event=new CalEvent();
						event.setMessage(eventJson.getString("summary"));						
						event.setTime(time.toString());			
						JSONArray tagArray=eventJson.getJSONArray("attendees");
						ArrayList<String> tags=new ArrayList<>();
						for (int i=0;i<tagArray.length();i++) {
							tags.add(tagArray.getJSONObject(i).getString("displayName"));
						}
						event.setTags(tags);
						list.add(event);

					}

				}	
			}
			return list;
		}
		catch (JSONException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		return list;
	}