public interface IWFDateEval extends IWFEvalUnit
IWFIfElseEval or IWFSwitchesEval.
Then the days addition is evaluated if it is not null. The evaluation is expected to result in long.
The result days are added to the base date. It can be negative value to subtract days from the base date.
Lastly the WFDateAlterOperation is evaluated to adjust the date to first/last day of the month, the quarter or the year.
Both days-addition and date-alter-operation are optional and can be null.| Modifier and Type | Method and Description |
|---|---|
IWFEvalUnit |
getBaseDate()
Returns base date evaluation unit.
|
WFDateAlterOperation |
getDateAlterOperation()
Returns operation to alter the date
|
IWFEvalUnit |
getDaysAddition()
Returns days addition evaluation unit.
|
void |
setBaseDate(IWFEvalUnit baseDate)
Assigns base date evaluation unit.
|
void |
setDateAlterOperation(WFDateAlterOperation dateAlterOperation)
Assigns operation to alter the date
|
void |
setDaysAddition(IWFEvalUnit daysAddition)
Assigns days addition evaluation unit.
|
getEvalTypeIWFEvalUnit getBaseDate()
void setBaseDate(IWFEvalUnit baseDate)
baseDate - IWFEvalUnit getDaysAddition()
void setDaysAddition(IWFEvalUnit daysAddition)
daysAddition - WFDateAlterOperation getDateAlterOperation()
void setDateAlterOperation(WFDateAlterOperation dateAlterOperation)
dateAlterOperation -
Licensed Materials - Property of IBM
OpenPages with Watson (PID: 5725-D51)
© Copyright IBM Corporation 2013, 2021. All Rights Reserved.
US Government Users Restricted Rights -
Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.