/** * {@inheritDoc} * * @see org.openimaj.time.TimeKeeper#stop() */ @Override public void stop() { this.setMode(Mode.STOP); }
/** * {@inheritDoc} * * @see org.openimaj.time.TimeKeeper#stop() */ @Override public void stop() { this.setMode(Mode.STOP); }
/** * {@inheritDoc} * * @see org.openimaj.time.TimeKeeper#pause() */ @Override public void pause() { this.setMode(Mode.PAUSE); // Set the current timecode to the time at which we paused. this.currentTimecode.setTimecodeInMilliseconds(this.currentTimestamp + (System.currentTimeMillis() - this.timecodeReadAt)); } }
/** * {@inheritDoc} * * @see org.openimaj.time.TimeKeeper#pause() */ @Override public void pause() { this.setMode(Mode.PAUSE); // Set the current timecode to the time at which we paused. this.currentTimecode.setTimecodeInMilliseconds(this.currentTimestamp + (System.currentTimeMillis() - this.timecodeReadAt)); } }