Save This Page
Home » pentaho-reporting-engine-classic-0.8.10 » org » jfree » report » function » [javadoc | source]
org.jfree.report.function
public class: ConvertToDateExpression [javadoc | source]
java.lang.Object
   org.jfree.report.function.AbstractExpression
      org.jfree.report.function.ConvertToDateExpression

All Implemented Interfaces:
    Expression, Serializable

Parses a string into a date using the given date-format.
Constructor:
 public ConvertToDateExpression() 
Method from org.jfree.report.function.ConvertToDateExpression Summary:
getField,   getFormat,   getLocale,   getValue,   setField,   setFormat,   setLocale
Methods from org.jfree.report.function.AbstractExpression:
clone,   getDataRow,   getDependencyLevel,   getInstance,   getName,   getReportConfiguration,   getResourceBundleFactory,   getRuntime,   isActive,   isDeepTraversing,   isPreserve,   setActive,   setDependencyLevel,   setName,   setPreserve,   setRuntime
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jfree.report.function.ConvertToDateExpression Detail:
 public String getField() 
    Returns the name of the data-row column from where to read the string that should be parsed.
 public String getFormat() 
    Returns the SimpleDateFormat pattern that is used for the parsing.
 public Locale getLocale() 
    Returns the locale that is used for the parsing.
 public Object getValue() 
    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.
 public  void setField(String field) 
    Defines the name of the data-row column from where to read the string that should be parsed.
 public  void setFormat(String format) 
    Defines the SimpleDateFormat pattern that is used for the parsing.
 public  void setLocale(Locale locale) 
    Defines the locale that is used for the parsing.