code: public void setPosition(Long pos) {
          Interval interval = getInterval();
          if (interval != null) {
              resetInterval(pos, interval.getStartGranularity());
          } else {
              resetInterval(pos, null);
          }
      }
docs: Sets this parameter's timestamp (or other kind of position value).
  
  @param pos
  a <code>long</code>.