MobilityDB  1.0

◆ tinstant_restrict_timestamp()

TInstant* tinstant_restrict_timestamp ( const TInstant inst,
TimestampTz  t,
bool  atfunc 
)

Restricts the temporal value to the (complement of the) timestamp.

Note
Since the corresponding function for temporal sequences need to interpolate the value, it is necessary to return a copy of the value