public class RelativeTimestampRange extends RelativeDateRange implements TimestampRange
Implementation of DateRange for relative range of times.
DATE_RANGE_REGEXP, DEFAULT_WEEK_START_DAY, PROPERTIES_FILE_NAME, WEEK_START_DAY_KEYexpression, timeZone| Constructor and Description |
|---|
RelativeTimestampRange(String expression) |
RelativeTimestampRange(String expression,
TimeZone timeZone,
Integer weekStart) |
| Modifier and Type | Method and Description |
|---|---|
Timestamp |
getEnd() |
Timestamp |
getStart() |
getCalendar, getCurrentDate, getExpression, getPattern, getProperties, getPropertiesFileName, getWeekStart, setProperties, validateExpressionpublic RelativeTimestampRange(String expression)
public Timestamp getStart()
getStart in interface DateRangegetStart in interface TimestampRangegetStart in class RelativeDateRangepublic Timestamp getEnd()
getEnd in interface DateRangegetEnd in interface TimestampRangegetEnd in class RelativeDateRangeCopyright © 2017. All rights reserved.