int minutesAdjustment = remoteOffset - localOffset;
start = start.plusMinutes(minutesAdjustment);
end = end.plusMinutes(minutesAdjustment);
}
EventSource source = getCalendar().getEventManager().getEventSource(sid);
EventProvider provider = source.getEventProvider();
String response = getCalendar().toJson(provider.getEvents(start, end));
getCalendar().getRequestCycle().scheduleRequestHandlerAfterCurrent(
new TextRequestHandler("application/json", "UTF-8", response));
}