MobilityDB 1.3
Loading...
Searching...
No Matches

◆ datum_bin()

Datum datum_bin ( Datum  value,
Datum  size,
Datum  origin,
meosType  type 
)

Return the initial value of the bin that contains a number value.

Parameters
[in]valueInput value
[in]sizeSize of the bins
[in]originOrigin of the bins
[in]typeData type of the arguments
Precondition
When called for dates, this function assumes that the duration interval which the calling function translated into the argument size does NOT have a month component