Temporal.Numeric.addAllHistoryInt()

Signature

int addAllHistoryInt(PropertyAtomInt pai, long t)

Domain

ACTION, CONDITION, QUERY, BUI

Description

This method returns the sum of all the values in the history of a property atom.

Parameters

NameTypeDescription
paiPropertyAtomIntThe property to check for the value of.
ttimefrom which values are added (in milliseconds); 0 uses all values recorded.

Returns

TypeDescription
intsum of all values in the history.

Cautions

If the values are too large the sum might overflow.