int c = 0;
Date lm;
String lms;
while (i.hasNext() && c < count) {
entry = i.next();
lm = new Date(entry.lastModified());
lms = GenericFormatter.ANSIC_FORMATTER.format(lm);
prop.put("event_" + c + "_start", lms); // like "Wed May 01 1963 00:00:00 GMT-0600"
prop.put("event_" + c + "_end", lms); // like "Sat Jun 01 1963 00:00:00 GMT-0600"
prop.put("event_" + c + "_isDuration", 0); // 0 (only a point) or 1 (period of time)
prop.putHTML("event_" + c + "_title", "test"); // short title of the event