Temporal.History.howMany()
Signature
int howMany(PropertyAtom pa, long stime, long etime, boolean bound_by_stime)
Domain
ACTION, CONDITION, QUERY, BUI
Description
This method returns how many values exist in interval [stime, etime].
Parameters
Name | Type | Description |
pa | PropertyAtom | The property to check for the value of. |
stime | long | start time of the interval, 0 means use oldest value's timestamp as start time. |
etime | long | end time of the interval, 0 means use newest value's timestamp as end time. |
bound_by_stime | boolean | true implies for stime less than oldest value's time stamp[t0] use t0. |
Returns
Type | Description |
int | no of values that exist in interval [stime, etime]. |
Cautions
If PropertyAtom does not have enough timeline, the oldest value starts it.