Class TimeValue

    • Constructor Detail

      • TimeValue

        public TimeValue()
      • TimeValue

        public TimeValue​(TimeValue source)
        NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
    • Method Detail

      • getTime

        public Long getTime()
        Get Unix时间戳,单位秒
        Returns:
        Time Unix时间戳,单位秒
      • setTime

        public void setTime​(Long Time)
        Set Unix时间戳,单位秒
        Parameters:
        Time - Unix时间戳,单位秒
      • getValue

        public Float getValue()
        Get 查询指标对应当前时间的值
        Returns:
        Value 查询指标对应当前时间的值
      • setValue

        public void setValue​(Float Value)
        Set 查询指标对应当前时间的值
        Parameters:
        Value - 查询指标对应当前时间的值