Loading

UNBUCKETIZE.CALENDAR

framework bucketize gts bucketizer date

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

UNBUCKETIZE.CALENDAR is available since version 2.4.1.

See also

Signatures

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