MobilityDB  1.0

◆ period_bucket_get()

static Period* period_bucket_get ( TimestampTz  t,
int64  tunits,
TimestampTz  torigin 
)
static

Generate period bucket from a bucket list.

Parameters
[in]tStart timestamp of the bucket
[in]tunitsSize of the time buckets in PostgreSQL time units
[in]toriginOrigin of the buckets