Class CompareDateExpression
- java.lang.Object
-
- org.pentaho.reporting.engine.classic.core.function.AbstractExpression
-
- org.pentaho.reporting.engine.classic.core.function.AbstractCompareExpression
-
- org.pentaho.reporting.engine.classic.core.function.date.CompareDateExpression
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Expression
public class CompareDateExpression extends AbstractCompareExpression
Deprecated.This can be solved easier using the Inline-Expression language.This expression compares a static date with the value read from a field.- Author:
- Thomas Morgner
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.pentaho.reporting.engine.classic.core.function.AbstractCompareExpression
EQUAL, GREATER, GREATER_EQUAL, LOWER, LOWER_EQUAL, NOT_EQUAL
-
-
Constructor Summary
Constructors Constructor Description CompareDateExpression()
Deprecated.Default Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected Comparable
getComparable()
Deprecated.Returns the static comparable.Date
getDate()
Deprecated.Returns the static date that is used for the comparison.void
setDate(Date date)
Deprecated.Defines the static date for the comparison.-
Methods inherited from class org.pentaho.reporting.engine.classic.core.function.AbstractCompareExpression
getCompareMethod, getField, getValue, setCompareMethod, setField
-
Methods inherited from class org.pentaho.reporting.engine.classic.core.function.AbstractExpression
clone, getDataRow, getDependencyLevel, getInstance, getName, getReportConfiguration, getResourceBundleFactory, getRuntime, isActive, isDeepTraversing, isPreserve, setActive, setDependencyLevel, setName, setPreserve, setRuntime
-
-
-
-
Method Detail
-
getDate
public Date getDate()
Deprecated.Returns the static date that is used for the comparison.- Returns:
- the date.
-
setDate
public void setDate(Date date)
Deprecated.Defines the static date for the comparison. If no date is defined, this expression will always evaluate to false.- Parameters:
date
- the static date for the comparison.
-
getComparable
protected Comparable getComparable()
Deprecated.Returns the static comparable.- Specified by:
getComparable
in classAbstractCompareExpression
- Returns:
- the static comparable.
-
-