MobilityDB 1.1

◆ tinstant_time_split()

static TInstant ** tinstant_time_split ( const TInstant inst,
int64  tunits,
TimestampTz  torigin,
TimestampTz **  buckets,
int *  newcount 
)
static

Split a temporal value into an array of fragments according to time buckets.

Parameters
[in]instTemporal value
[in]tunitsSize of the time buckets in PostgreSQL time units
[in]toriginTime origin of the tiles
[out]bucketsStart timestamp of the buckets containing a fragment
[out]newcountNumber of values in the output array