code: public long setTimestamp(long timestamp) {
      this.currentTimestamp = timestamp;
      service.tick(WallClockTimestamp.from(timestamp));
      return currentTimestamp;
    }
docs: Sets the current timestamp.
  
  @param timestamp the updated timestamp
  @return the current timestamp