fluxGraph.transact();
}
public Interval getTimeInterval() {
DateTime startTime = new DateTime(FluxUtil.getTransactionDate(fluxGraph, getTimeId()));
TimeAwareElement nextElement = this.getNextVersion();
if (nextElement == null) {
return new Interval(startTime, new DateTime(Long.MAX_VALUE));
}
else {
DateTime stopTime = new DateTime(FluxUtil.getTransactionDate(fluxGraph, nextElement.getTimeId()));
return new Interval(startTime, stopTime);
}
}