@CalcMgrRollDate

用途:

在给定的日期字段中添加或减少(上移或下移)一个时间单位,而不更改更大的字段。

例如,@CalcMgrRollDate(19960131,"month",@_true) 将生成日期 19960229@CalcMgrRollDate(19960131,"day",@_true) 将生成日期 19960101

date_part 的可能值为:day、month、week 和 year

语法:

Java 类:com.hyperion.calcmgr.common.cdf.CalendarFunctions.rollDate(int,String,boolean)

CDF 规范:@CalcMgrRollDate(date,date_part,up)