MobilityDB 1.3
Loading...
Searching...
No Matches

◆ tsegment_at_timestamptz()

TInstant * tsegment_at_timestamptz ( const TInstant inst1,
const TInstant inst2,
interpType  interp,
TimestampTz  t 
)

Restrict the segment of a temporal sequence to a timestamptz.

Parameters
[in]inst1,inst2Temporal instants defining the segment
[in]interpInterpolation of the segment
[in]tTimestamp
Precondition
The timestamp t satisfies inst1->t <= t <= inst2->t
Note
The function creates a new value that must be freed