public class FixedDate extends AbstractDateRange
Implementation of DateRange
for fixed, non relative date.
Modifier and Type | Field and Description |
---|---|
static String |
DATE_PATTERN |
expression, timeZone
Constructor and Description |
---|
FixedDate(Date date) |
FixedDate(String expression) |
FixedDate(String expression,
TimeZone timeZone,
String datePattern) |
Modifier and Type | Method and Description |
---|---|
protected String |
getDefaultPattern() |
Date |
getEnd() |
Date |
getStart() |
protected void |
validateExpression(String expression) |
public static final String DATE_PATTERN
public FixedDate(String expression)
public FixedDate(Date date)
protected void validateExpression(String expression) throws InvalidDateRangeExpressionException
validateExpression
in class AbstractDateRange
InvalidDateRangeExpressionException
public Date getStart()
public Date getEnd()
protected String getDefaultPattern()
Copyright © 2017. All rights reserved.