public class CoerceToTimestamp extends AbstractCoerceToDate
| Constructor and Description |
|---|
CoerceToTimestamp() |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
getDateType()
Returns the name of the Date type being coerced.
|
protected java.text.DateFormat[] |
getFormatters(java.util.Locale locale)
Returns the
DateFormat to apply when the value to coerce is not of
Date type and it will be parsed as String. |
protected java.util.Date |
valueOf(java.util.Date value) |
protected java.util.Date |
valueOf(java.lang.String value) |
coerce, coerce, coerce, nowprotected java.text.DateFormat[] getFormatters(java.util.Locale locale)
AbstractCoerceToDateDateFormat to apply when the value to coerce is not of
Date type and it will be parsed as String.getFormatters in class AbstractCoerceToDateDateFormat to apply to parse the value to coerce as
Stringprotected java.lang.String getDateType()
AbstractCoerceToDategetDateType in class AbstractCoerceToDateprotected java.util.Date valueOf(java.lang.String value)
valueOf in class AbstractCoerceToDateprotected java.util.Date valueOf(java.util.Date value)
valueOf in class AbstractCoerceToDate