public class DateCutExpression extends AbstractExpression
.VariableDateExpression
should be used instead.
This expression simply executes a integer division followed by a integer multiplication on the milliseconds since
01-01-1970. For a factor of 1000, this sets the milliseconds to zero.Constructor and Description |
---|
DateCutExpression()
Deprecated.
Default Constructor.
|
Modifier and Type | Method and Description |
---|---|
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.
|
clone, getDataRow, getDependencyLevel, getInstance, getName, getReportConfiguration, getResourceBundleFactory, getRuntime, isActive, isDeepTraversing, isPreserve, setActive, setDependencyLevel, setName, setPreserve, setRuntime
public DateCutExpression()
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()
Copyright © 2017 Hitachi Vantara. All rights reserved.