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