Package net.sf.jasperreports.types.date
Class RelativeTimestampRange
- java.lang.Object
-
- net.sf.jasperreports.types.date.AbstractDateRange
-
- net.sf.jasperreports.types.date.RelativeDateRange
-
- net.sf.jasperreports.types.date.RelativeTimestampRange
-
- All Implemented Interfaces:
Serializable
,DateRange
,DateRangeExpression
,TimestampRange
public class RelativeTimestampRange extends RelativeDateRange implements TimestampRange
Implementation of
DateRange
for relative range of times.- Author:
- Sergey Prilukin
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class net.sf.jasperreports.types.date.RelativeDateRange
DATE_RANGE_REGEXP, DEFAULT_WEEK_START_DAY, PROPERTIES_FILE_NAME, PROPERTY_WEEK_START_DAY, WEEK_START_DAY_KEY
-
Fields inherited from class net.sf.jasperreports.types.date.AbstractDateRange
expression, timeZone
-
-
Constructor Summary
Constructors Constructor Description RelativeTimestampRange(String expression)
RelativeTimestampRange(String expression, TimeZone timeZone, Integer weekStart)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Timestamp
getEnd()
Timestamp
getStart()
-
Methods inherited from class net.sf.jasperreports.types.date.RelativeDateRange
getCalendar, getCurrentDate, getExpression, getPattern, getProperties, getPropertiesFileName, getWeekStart, setProperties, validateExpression
-
Methods inherited from class net.sf.jasperreports.types.date.AbstractDateRange
toString
-
-
-
-
Method Detail
-
getStart
public Timestamp getStart()
- Specified by:
getStart
in interfaceDateRange
- Specified by:
getStart
in interfaceTimestampRange
- Overrides:
getStart
in classRelativeDateRange
-
getEnd
public Timestamp getEnd()
- Specified by:
getEnd
in interfaceDateRange
- Specified by:
getEnd
in interfaceTimestampRange
- Overrides:
getEnd
in classRelativeDateRange
-
-