public abstract class AbstractAddDates extends Object
| Constructor and Description |
|---|
AbstractAddDates() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
addInterval(String date,
String interval)
call this method from the subclasses to add an interval to a date
|
protected String |
addInterval(String format,
String date,
String interval)
call this method from the subclasses to add an interval to a date
|
protected abstract String |
getMethodName()
override this method to indicate with method on
DateUtils could be called |
protected String addInterval(String format, String date, String interval)
format - the date formatdate - the dateinterval - the interval to add (or subtract)protected String addInterval(String date, String interval)
date - the dateinterval - the interval to add (or subtract)protected abstract String getMethodName()
DateUtils could be calledDateUtilsCopyright © 2022. All rights reserved.