timestamp = createTimestamp(ns);
}
} catch (ParseException e) {
- timestamp = new TmfTimestamp();
+ timestamp = TmfTimestamp.create(0, ITmfTimestamp.SECOND_SCALE);
}
TextTraceEventContent content = new TextTraceEventContent(5);
@Override
public ITmfTimestamp getInitialRangeOffset() {
- return new TmfTimestamp(60, ITmfTimestamp.SECOND_SCALE);
+ return TmfTimestamp.fromSeconds(60);
}
@Override