}
private BlockLocationRecord record(long time, double scheduleDeviation,
double distanceAlongBlock, CoordinatePoint location, double orientation,
EVehiclePhase phase, String status) {
Builder builder = BlockLocationRecord.builder();
builder.setTime(time);
builder.setScheduleDeviation(scheduleDeviation);
builder.setDistanceAlongBlock(distanceAlongBlock);
builder.setLocation(location);
builder.setOrientation(orientation);
builder.setPhase(phase);
builder.setStatus(status);
return builder.create();
}