public String formatDataRecordOutput(DataRecord dataRecord, Calendar calendar) { String output = ""; output += getFormattedDate(calendar.getTime()); output += ", "; output += dataRecord.getFrom(); output += ", "; output += getFormattedDate(calendar.getTime()); output += ", "; output += dataRecord.getUntil(); // output+=getFormattedDate(dataRecord.getPeriod().getEndDate()); output += ", "; output += dataRecord.getRoom(); output += ", "; output += dataRecord.getEventOutput(); output += ", "; output += dataRecord.getWho(); output += ", "; output += "false"; output += ", "; output += "true"; return output; }
@Override public void buildDataRecordPart(DataRecord dataRecord) { dataRecord.setGroup(group); }