MobilityDB 1.1

◆ period_tprecision()

Span * period_tprecision ( const Span s,
const Interval duration,
TimestampTz  torigin 
)

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

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