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