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
Name | Type | Description |
pai | PropertyAtomInt | The property to check for the value of. |
t | time | from which values are added (in milliseconds); 0 uses all values recorded. |
Returns
Type | Description |
int | sum of all values in the history. |
Cautions
If the values are too large the sum might overflow.