Package net.sf.jasperreports.types.date
Class FixedDate
- java.lang.Object
-
- net.sf.jasperreports.types.date.AbstractDateRange
-
- net.sf.jasperreports.types.date.FixedDate
-
- All Implemented Interfaces:
Serializable
,DateRange
- Direct Known Subclasses:
FixedTimestamp
public class FixedDate extends AbstractDateRange
Implementation of
DateRange
for fixed, non relative date.- Author:
- Sergey Prilukin
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
DATE_PATTERN
-
Fields inherited from class net.sf.jasperreports.types.date.AbstractDateRange
expression, timeZone
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getDefaultPattern()
Date
getEnd()
Date
getStart()
protected void
validateExpression(String expression)
-
Methods inherited from class net.sf.jasperreports.types.date.AbstractDateRange
toString
-
-
-
-
Field Detail
-
DATE_PATTERN
public static final String DATE_PATTERN
- See Also:
- Constant Field Values
-
-
Method Detail
-
validateExpression
protected void validateExpression(String expression) throws InvalidDateRangeExpressionException
- Overrides:
validateExpression
in classAbstractDateRange
- Throws:
InvalidDateRangeExpressionException
-
getStart
public Date getStart()
-
getEnd
public Date getEnd()
-
getDefaultPattern
protected String getDefaultPattern()
-
-