if (results.size() > 0) {
results = (filterRoadEventsByTime(results, startTime, endTime));
}
for (RoadEventModel roadEvent : results) {
TRoadEvent tRoadEvent = new TRoadEvent();
tRoadEvent.edgeId = tEdgePosition.edgeID;
tRoadEvent.type = roadEvent.getEventType().getByteType();
tRoadEvent.startTime = roadEvent.getStartTime();