ts_get_flags() 函数

ts_get_flags() 函数返回与给定时间系列关联的标志。

语法

mi_integer
ts_get_flags(ts_timeseries *ts)
ts
源时间系列。

描述

返回值是标志位的集合。可能的标志位集有 TSFLAGS_IRR、TSFLAGS_INMEM 和 TSFLAGS_ASSIGNED。

要检查时间系列是否规则,请使用 TS_IS_IRREGULAR。

返回结果

包含给定时间系列的标志的整数。