Date aWeekAgo = calendar.getTime();
Date today = new Date();
String query = new StringBuilder()
.append("?startTime=")
.append(new DateParser().apply(aWeekAgo))
.append("&endTime=")
.append(new DateParser().apply(today))
.toString();
URI endpoint = URI.create("https://dfw.loadbalancers.api.rackspacecloud.com/v1.0/123123/loadbalancers/2000/usage" + query);
ReportApi api = requestsSendResponses(
rackspaceAuthWithUsernameAndApiKey,