- TIBCO BusinessEvents®
- Standard
- Temporal
- History

# Temporal.History

## Description

Temporal History Functions

## Functions

Name | Signature and Synopsis
--- | ---
`alwaysDecreasingDouble` | `boolean alwaysDecreasingDouble(PropertyAtomDouble pad, long stime, long etime, int sample_interval, boolean bound_by_stime)` This method checks if samples of the property always decrease over a given time interval [stime, etime]. Returns true only if each sample value is less than the immediately prior sample value in the given time interval. All the times are in milliseconds.
`alwaysDecreasingInt` | `boolean alwaysDecreasingInt(PropertyAtomInt pai, long stime, long etime, int sample_interval, boolean bound_by_stime)` This method checks if samples of the property always decrease over a given time interval [stime, etime]. Returns true only if each sample value is less than the immediately prior sample value in the given time interval. All the times are in milliseconds.
`alwaysDecreasingLong` | `boolean alwaysDecreasingLong(PropertyAtomLong pal, long stime, long etime, int sample_interval, boolean bound_by_stime)` This method checks if samples of the property always decrease over a given time interval [stime, etime]. Returns true only if each sample value is less than the immediately prior sample value in the given time interval. All the times are in milliseconds.
`alwaysIncreasingDouble` | `boolean alwaysIncreasingDouble(PropertyAtomDouble pad, long stime, long etime, int sample_interval, boolean bound_by_stime)` This method checks if samples of the property always increase over a given time interval [stime, etime]. Returns true only if each sample value is greater than the immediately prior sample value in the given time interval. All the times are in milliseconds.
`alwaysIncreasingInt` | `boolean alwaysIncreasingInt(PropertyAtomInt pai, long stime, long etime, int sample_interval, boolean bound_by_stime)` This method checks if samples of the property always increase over a given time interval [stime, etime]. Returns true only if each sample value is greater than the immediately prior sample value in the given time interval. All the times are in milliseconds.
`alwaysIncreasingLong` | `boolean alwaysIncreasingLong(PropertyAtomLong pal, long stime, long etime, int sample_interval, boolean bound_by_stime)` This method checks if samples of the property always increase over a given time interval [stime, etime]. Returns true only if each sample value is greater than the immediately prior sample value in the given time interval. All the times are in milliseconds.
`everDecreasingDouble` | `boolean everDecreasingDouble(PropertyAtomDouble pad, long stime, long etime, int sample_interval, boolean bound_by_stime)` This method checks if samples of the property ever decrease over a given time interval [stime, etime]. Returns true only if any sample value is less than any prior sample value in the given time interval. All the times are in milliseconds.
`everDecreasingInt` | `boolean everDecreasingInt(PropertyAtomInt pai, long stime, long etime, int sample_interval, boolean bound_by_stime)` This method checks if samples of the property ever decrease over a given time interval [stime, etime]. Returns true only if any sample value is less than any prior sample value in the given time interval. All the times are in milliseconds.
`everDecreasingLong` | `boolean everDecreasingLong(PropertyAtomLong pal, long stime, long etime, int sample_interval, boolean bound_by_stime)` This method checks if samples of the property ever decrease over a given time interval [stime, etime]. Returns true only if any sample value is less than any prior sample value in the given time interval. All the times are in milliseconds.
`everIncreasingDouble` | `boolean everIncreasingDouble(PropertyAtomDouble pad, long stime, long etime, int sample_interval, boolean bound_by_stime)` This method checks if samples of the property ever increase over a given time interval [stime, etime]. Returns true only if any sample value is greater than any prior sample value in the given time interval. All the times are in milliseconds.
`everIncreasingInt` | `boolean everIncreasingInt(PropertyAtomInt pai, long stime, long etime, int sample_interval, boolean bound_by_stime)` This method checks if samples of the property ever increase over a given time interval [stime, etime]. Returns true only if any sample value is greater than any prior sample value in the given time interval. All the times are in milliseconds.
`everIncreasingLong` | `boolean everIncreasingLong(PropertyAtomLong pal, long stime, long etime, int sample_interval, boolean bound_by_stime)` This method checks if samples of the property ever increase over a given time interval [stime, etime]. Returns true only if any sample value is greater than any prior sample value in the given time interval. All the times are in milliseconds.
`history` | `Object history(PropertyAtom pad, long no_of_milli_seconds_ago)` This method returns PropertyAtom value a given number of milli seconds ago.
`historyDouble` | `double historyDouble(PropertyAtomDouble pad, long no_of_milli_seconds_ago)` This method returns PropertyAtomDouble value a given number of milli seconds ago.
`historyInt` | `double historyInt(PropertyAtomInt pai, long no_of_milli_seconds_ago)` This method returns PropertyAtomInt value a given number of milli seconds ago.
`historyLong` | `double historyLong(PropertyAtomLong pal, long no_of_milli_seconds_ago)` This method returns PropertyAtomLong value a given number of milli seconds ago.
`howCurrent` | `long howCurrent(PropertyAtom pa)` This method returns how old is the newest value in the PropertyAtom history.
`howMany` | `int howMany(PropertyAtom pa, long stime, long etime, boolean bound_by_stime)` This method returns how many values exist in interval [stime, etime].
`howManyInLast` | `int howManyInLast(PropertyAtom pa, long num_msec_ago)` This method returns how many history values exist for a property in last number of msec ago .
`howManySince` | `int howManySince(PropertyAtom pa, long time)` This method returns how many history values exist for given property since the specified time.
`howOld` | `long howOld(PropertyAtom pa)` This method returns how old is the oldest value in the PropertyAtom history.
`previous` | `Object previous(PropertyAtom pad)` This method returns the previous value of a PropertyAtom.
`previousDouble` | `double previousDouble(PropertyAtomDouble pad)` This method returns the previous value of PropertyAtomInt.
`previousInt` | `int previousInt(PropertyAtomInt pai)` This method returns the previous value of PropertyAtomInt.
`previousLong` | `long previousLong(PropertyAtomLong pal)` This method returns the previous value of PropertyAtomInt.
`steadyDouble` | `boolean steadyDouble(PropertyAtomDouble pad, long stime, long etime, int sample_interval, boolean bound_by_stime)` This method checks if samples of the property value remain steady over a given time interval[stime, etime], all the times are in (milliseconds).
`steadyInt` | `boolean steadyInt(PropertyAtomInt pai, long stime, long etime, int sample_interval, boolean bound_by_stime)` This method checks if samples of the property value remain steady over a given time interval[stime, etime], all the times are in (milliseconds).
`steadyLong` | `boolean steadyLong(PropertyAtomLong pal, long stime, long etime, int sample_interval, boolean bound_by_stime)` This method checks if samples of the property value remain steady over a given time interval[stime, etime], all the times are in (milliseconds).