if (!oMeet.isNull(DB.id_icalendar)) {
URL feedUrl = new URL("https://www.google.com/calendar/feeds/default/private/full");
URL postUrl = new URL("https://www.google.com/calendar/feeds/"+sEMail+"/private/full");
CalendarQuery myQuery = new CalendarQuery(feedUrl);
String sTimeZone = DBCommand.queryStr(oConn, "SELECT "+DB.tx_timezone+" FROM "+DB.k_fellows+" WHERE "+DB.gu_fellow+"='"+oMeet.getString(DB.gu_fellow)+"'");
if (null==sTimeZone) {
myQuery.setMinimumStartTime(new DateTime(oMeet.getDate(DB.dt_start)));
myQuery.setMaximumStartTime(new DateTime(oMeet.getDate(DB.dt_end)));
if (DebugFile.trace) DebugFile.writeln("CalendarQuery.query("+feedUrl.toString()+","+oMeet.getDateTime24(DB.dt_start)+","+oMeet.getDateTime24(DB.dt_end)+", without time zone)");
} else {
int lSign = sTimeZone.charAt(0)=='+' ? 1 : -1;
String[] aTimeZone = Gadgets.split2(sTimeZone.substring(1),':');
SimpleTimeZone oTmz = new SimpleTimeZone(lSign*(Integer.parseInt(aTimeZone[0])*3600000+Integer.parseInt(aTimeZone[1])*60000), sTimeZone);
myQuery.setMinimumStartTime(new DateTime(oMeet.getDate(DB.dt_start),oTmz));
myQuery.setMaximumStartTime(new DateTime(oMeet.getDate(DB.dt_end),oTmz));
if (DebugFile.trace) DebugFile.writeln("CalendarQuery.query("+feedUrl.toString()+","+oMeet.getDateTime24(DB.dt_start)+","+oMeet.getDateTime24(DB.dt_end)+", GMT "+oTmz.getID()+")");
}
CalendarEventFeed oFeed = oCalSrv.query(myQuery, CalendarEventFeed.class);
for (int i = 0; i < oFeed.getEntries().size(); i++) {