public abstract class AbstractDateFunction extends Object implements Function
Constructor and Description |
---|
AbstractDateFunction() |
Modifier and Type | Method and Description |
---|---|
protected void |
applyDateOffset(Calendar calendar,
String offsetString)
Adds/removes date value offset by parsing offset string for
year/month/day/hour/minute/second offsets.
|
protected int |
getDateValueOffset(String offsetString,
char c)
Parse offset string and add or subtract date offset value.
|
protected SimpleDateFormat |
getDefaultDateFormat()
Provides default date format.
|
protected void applyDateOffset(Calendar calendar, String offsetString)
calendar
- offsetString
- protected int getDateValueOffset(String offsetString, char c)
offsetString
- c
- protected SimpleDateFormat getDefaultDateFormat()
Copyright © 2008–2017 ConSol Software GmbH. All rights reserved.