icalEvent.setDateEnd(icalDateEnd);
FBString.append(createFBRow(formatter, icalEvent.getDateStart(), icalEvent.getDateEnd()));
}
// Condition 4.
else if (thisTimeFrom.before(icalDateStart)
&& thisTimeTo.after(icalDateStart))
{
// Create event with starttime time as thisTimeFrom, end time as speced.
icalEvent.setDateStart(icalDateStart);
icalEvent.setDateEnd(thisTimeTo);
FBString.append(createFBRow(formatter, icalEvent.getDateStart(), icalEvent.getDateEnd()));