Loading

UNBUCKETIZE.CALENDAR


framework bucketize gts bucketizer date
Since v2.4.1
Available on all platforms
See also

On a GTS that is calendar-bucketized, this function replaces the ticks with the timestamp end boundaries of each bucket, and unbucketize it.

Signature

Examples

[ 2019 ] TSELEMENTS-> 'end' STORE NEWGTS 1 2000 <% $end SWAP -1 * ADDDAYS NaN NaN NaN 1 ADDVALUE %> FOR [ SWAP bucketizer.count $end 1 - 'P1M' 0 ] BUCKETIZE.CALENDAR UNBUCKETIZE.CALENDAR