Temporal.History.howManyInLast()

Signature

int howManyInLast(PropertyAtom pa, long num_msec_ago)

Domain

ACTION, CONDITION, QUERY, BUI

Description

This method returns how many history values exist for given property in last number of msec ago. The value is bounded by history size.

Parameters

NameTypeDescription
paPropertyAtomThe target property.
num_msec_agolongNumber of msec ago.

Returns

TypeDescription
intNumber of history values that exist within the last specified msec timeframe.

Cautions

none