MobilityDB  1.0

◆ temporal_shift_tscale_internal()

Temporal* temporal_shift_tscale_internal ( Temporal temp,
bool  shift,
bool  tscale,
Interval *  start,
Interval *  duration 
)

Shift and/or scale the time span of the temporal value by the two intervals (internal function)

Parameters
[in]tempTemporal value
[in]shiftTrue when a shift of the timespan must be performed
[in]tscaleTrue when a scale of the timespan must be performed
[in]startInterval for shift
[in]durationInterval for scale
Precondition
The duration is greater than 0 if is not NULL