Class BaseTimeDataType

    • Constructor Detail

      • BaseTimeDataType

        protected BaseTimeDataType​(BaseTimeDataType t)
        creates a shallow copy of t
        Parameters:
        t -
    • Method Detail

      • setScaling

        public void setScaling​(double offset,
                               double scale)
        Scale and offset are used in a y = m*x + b type relationship (m is the scale and b is the offset) to make adjustments to the encoded value so that it matches the time units.
        Parameters:
        offset -
        scale -
      • needsScaling

        public boolean needsScaling()
      • getOffset

        public double getOffset()
      • getScale

        public double getScale()