if (info.size() > 0) {
SpanRelocationInfo[] out = new SpanRelocationInfo[info.size()];
for (int i = 0; i < info.size(); i++) {
TimeSpanInternal s = info.get(i);
out[i] = new SpanRelocationInfo();
out[i].begin = s.span.getBegin().getTime();
out[i].duration = s.span.getLength()*60*1000;
}
Insets insets = getInsets();
int currentWidth = getWidth() - insets.left - insets.right;