code: private void setType(Type type) {
      setSamplesPerSecond(type.getSamplesPerSecond());
      setFramesPerSecond(type.getFramesPerSecond());
      setUseSamples(type.usesSamples());
    }
docs: Sets this timecodes samplesPerSecond and framesPerSecond based on the given type