newEventHashMap.put("WhoShouldAttend", oldEvent.getWhoshouldattend());
newEventHashMap.put("MaxAttendees", Integer.toString(oldEvent.getMaxattendees()));
newEventHashMap.put("Moderator", Integer.toString(oldEvent.getModeratorid()));
//newEventHashMap.put("StartDate", (Timestamp) oldEvent.getStartdate());
//newEventHashMap.put("EndDate", (Timestamp) oldEvent.getEnddate());
Timestamp startTimestamp = (Timestamp)oldEvent.getStartdate();
Timestamp endTimestamp = (Timestamp)oldEvent.getEnddate();
//This section SHOULD NOT NEED TO BE DONE.
//The way Timestamps are currently handled means I have to do this this way.
Calendar tempCalendar = new GregorianCalendar();
//fix the start time
tempCalendar.setTimeInMillis(startTimestamp.getTime());
tempCalendar.add(Calendar.YEAR, 1900);
startTimestamp.setTime(tempCalendar.getTimeInMillis());
//fix the end time
tempCalendar.setTimeInMillis(endTimestamp.getTime());
tempCalendar.add(Calendar.YEAR, 1900);
endTimestamp.setTime(tempCalendar.getTimeInMillis());
//End of This section SHOULD NOT NEED TO BE DONE.
newEventHashMap.put("StartDate", startTimestamp);
newEventHashMap.put("EndDate", endTimestamp);