Пример #1
0
 public double getTime() {
   return (double) (timeSource.getRawTime() - base) * timeSource.getResolution();
 }
Пример #2
0
 public void setTime(double time) {
   base = timeSource.getRawTime() - (long) (time / timeSource.getResolution());
 }
Пример #3
0
 public void init() {
   base = timeSource.getRawTime();
 }