MobilityDB 1.1

◆ tinstant_restrict_timestamp()

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

Restrict a temporal instant to (the complement of) a timestamp.

Note
Since the corresponding function for temporal sequences need to interpolate the value, it is necessary to return a copy of the value
SQL Function:
atTimestamp(), minusTimestamp()