来源: http://developer.actuate.com/community/forum/index.php?/topic/36323-months-and-quarters-group-issue/
不规则月份统计:如果起始时间是2014-01-10,则将2014-01-10到2014-02-09作为一组,将2014-02-10到2014-03-9作为一组。如果起始时间是2014-01-31,则将2014-02-27作为一组,将2014-02-28到2014-03-30作为一组。
集算器代码:
A1:根据起止时间查询数据库,其中startDate和endDate是外部参数。