|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pentaho.reporting.engine.classic.core.function.AbstractExpression
org.pentaho.reporting.engine.classic.core.function.DateCutExpression
public class DateCutExpression
Prunes a date in a calendar-unware way. This method can be used to zero the milli-seconds or seconds and so on from a
date-object. For more complex operations, the VariableDateExpression
should be used instead.
Constructor Summary | |
---|---|
DateCutExpression()
Deprecated. Default Constructor. |
Method Summary | |
---|---|
long |
getFactor()
Deprecated. Returns the factor by which the date should be pruned. |
String |
getField()
Deprecated. Returns the name of the data-row field from where to read the date that should be modified. |
Object |
getValue()
Deprecated. Computes the pruned date. |
void |
setFactor(long factor)
Deprecated. Defines the factor by which the date should be pruned. |
void |
setField(String field)
Deprecated. Defines the name of the data-row field from where to read the date that should be modified. |
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 |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DateCutExpression()
Method Detail |
---|
public String getField()
public void setField(String field)
field
- a field name.public long getFactor()
public void setFactor(long factor)
factor
- a factor.public Object getValue()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |