public class ConvertToDateExpression extends AbstractExpression
SimpleDateFormat
,
Serialized FormConstructor and Description |
---|
ConvertToDateExpression()
Deprecated.
Default Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getField()
Deprecated.
Returns the name of the data-row column from where to read the string that should be parsed.
|
String |
getFormat()
Deprecated.
Returns the SimpleDateFormat pattern that is used for the parsing.
|
Locale |
getLocale()
Deprecated.
Returns the locale that is used for the parsing.
|
TimeZone |
getTimeZone()
Deprecated.
|
Object |
getValue()
Deprecated.
Parses the value read from the column specified by the given field-name and tries to parse it into a Date using the
given SimpleDateFormat-pattern.
|
void |
setField(String field)
Deprecated.
Defines the name of the data-row column from where to read the string that should be parsed.
|
void |
setFormat(String format)
Deprecated.
Defines the SimpleDateFormat pattern that is used for the parsing.
|
void |
setLocale(Locale locale)
Deprecated.
Defines the locale that is used for the parsing.
|
void |
setTimeZone(TimeZone timeZone)
Deprecated.
|
clone, getDataRow, getDependencyLevel, getInstance, getName, getReportConfiguration, getResourceBundleFactory, getRuntime, isActive, isDeepTraversing, isPreserve, setActive, setDependencyLevel, setName, setPreserve, setRuntime
public ConvertToDateExpression()
public String getField()
public void setField(String field)
field
- the name of the field.public String getFormat()
SimpleDateFormat
public void setFormat(String format)
format
- the pattern string.SimpleDateFormat
public Locale getLocale()
public void setLocale(Locale locale)
locale
- the locale.public TimeZone getTimeZone()
public void setTimeZone(TimeZone timeZone)
public Object getValue()