public void setTime(double time) { base = timeSource.getRawTime() - (long) (time / timeSource.getResolution()); }
public double getTime() { return (double) (timeSource.getRawTime() - base) * timeSource.getResolution(); }