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