@Function(name="addMonths") public class AddMonths extends AbstractAddDates
| Constructor and Description |
|---|
AddMonths() |
| Modifier and Type | Method and Description |
|---|---|
String |
addMonths(String date,
String months)
add months to the date
|
String |
addMonths(String format,
String date,
String months)
add months to date
|
protected String |
getMethodName()
override this method to indicate with method on
DateUtils could be called |
addInterval, addInterval@FunctionInvocation public final String addMonths(String format, String date, String months)
format - the date formatdate - the datemonths - the number of months to add@FunctionInvocation public final String addMonths(String date, String months)
date - the datemonths - the number of months to addprotected final String getMethodName()
AbstractAddDatesDateUtils could be calledgetMethodName in class AbstractAddDatesDateUtilsCopyright © 2022. All rights reserved.