package com.google.sps.servlets;

import java.util.ArrayList;
import java.util.List;



// See for more details: https://developers.google.com/calendar/v3/reference/events/list

/** Get a list of user events */
public class ListEvents {
    
    // We should be getting the DATE 
    public String createListEventsURL(String calendar_id, String accessToken) {
        return new StringBuilder("https://www.googleapis.com/calendar/v3/calendars/" + calendar_id + 
        "/events?access_token=").append(accessToken).toString();
    }
}

/*
return new StringBuilder("https://www.googleapis.com/calendar/v3/calendars/" + calendar_id + 
        "/events?orderBy=startTime&singleEvents=true&timeMax=" + timeMax
        + "&timeMin=" + timeMin + "?access_token=").append(accessToken).toString();


*/

@@ -531,265 +531,4 @@
  %7D%0A%7D
-%0A%0A/*%0Areturn new StringBuilder(%22https://www.googleapis.com/calendar/v3/calendars/%22 + calendar_id + %0A        %22/events?orderBy=startTime&singleEvents=true&timeMax=%22 + timeMax%0A        + %22&timeMin=%22 + timeMin + %22?access_token=%22).append(accessToken).toString();%0A%0A%0A*/%0A

Delete unused comments