MobilityDB 1.1

◆ lower_upper_shift_tscale()

void lower_upper_shift_tscale ( TimestampTz lower,
TimestampTz upper,
const Interval shift,
const Interval duration 
)

Shift and/or scale period bounds by the intervals.

Parameters
[in]shiftInterval to shift the bounds
[in]durationInterval for the duration of the result
[in,out]lower,upperBounds of the period