MobilityDB 1.1

◆ tinstant_tprecision()

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

Set the precision of a temporal value according to time buckets.

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