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