if (updated < oldest_updatetime) {
oldest_updatetime = updated;
}
}
Event ev = new Event(event_id, event_gid, event_name, event_displayorder, event_description, start, end);
ev.setLastretrieved(oldest_updatetime);
print("Storing:" + ev.toString());
PersistenceManager pm = PMF.get().getPersistenceManager();
pm.makePersistent(ev);
pm.close();