public class FunctionFieldMath extends FunctionBase
| Modifier and Type | Field and Description |
|---|---|
protected List<Map<String,String>> |
calendarMapList |
protected String |
defaultCalendar |
protected String |
defaultHolidayCalendar |
protected Map<String,List<Date>> |
holidayListMap |
protected String |
tmpPoolName |
dataProcessConfigIntf, dataProcessEngine, dateUtil, skipDateFormat| Constructor and Description |
|---|
FunctionFieldMath() |
| Modifier and Type | Method and Description |
|---|---|
String |
doColumnMath(DataProcessField aField,
String aPriorValue,
String aSign,
String aValue) |
String |
doFunction(String aValue,
String aFunction,
DataProcessField aField) |
protected Map<Date,Date> |
getCalendarHolidays(String aCalendarName) |
protected Map<String,String> |
getCalendarMap(String aCalendarName) |
protected List<Integer> |
getCalendarWorkdays(String aCalendarName) |
int |
getDefError() |
protected void |
loadCalendarData() |
getCurrentDate, init, isSkipDateFormat, replaceValues, setFunctionValue, shutdownprotected String defaultHolidayCalendar
protected String defaultCalendar
protected String tmpPoolName
public String doFunction(String aValue, String aFunction, DataProcessField aField) throws Exception
doFunction in interface FunctionIntfdoFunction in class FunctionBaseExceptionpublic String doColumnMath(DataProcessField aField, String aPriorValue, String aSign, String aValue) throws Exception
doColumnMath in interface FunctionIntfdoColumnMath in class FunctionBaseExceptionpublic int getDefError()
getDefError in class FunctionBaseCopyright © 2020. All rights reserved.