MobilityDB 1.1

◆ tinstant_tsample()

TInstant * tinstant_tsample ( const TInstant inst,
const Interval duration,
TimestampTz  torigin 
)

Sample the temporal value according to period buckets.

Parameters
[in]instTemporal value
[in]durationSize of the time buckets
[in]toriginTime origin of the buckets