Class TimescalingProperties

  • All Implemented Interfaces:
    java.io.Serializable

    public class TimescalingProperties
    extends java.lang.Object
    implements java.io.Serializable
    Timescale properties class for time scaling purpose. Use the static method TimeScaleProperties.getTimeScaleProperties(ScaleAlgorithm algorithm, short scaleSize, LoggingTimeInterval timeInterval)
    See Also:
    Serialized Form
    • Method Detail

      • getTimeScaleProperties

        public static TimescalingProperties getTimeScaleProperties​(ScaleAlgorithm algorithm,
                                                                   short scaleSize,
                                                                   LoggingTimeInterval timeInterval)
        Returns the time scale properties
        Parameters:
        algorithm - The algorithm
        scaleSize - The size
        timeInterval - The interval
        Returns:
        The time scale properties
      • getTimeMs

        public long getTimeMs()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • abbrev

        public java.lang.String abbrev()
      • getNumberOfSecondsInInterval

        public long getNumberOfSecondsInInterval()
      • toDBString

        public java.lang.String toDBString()
      • getTimescaleAlgorithm

        public ScaleAlgorithm getTimescaleAlgorithm()
      • getScaleSize

        public short getScaleSize()
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object