com.arsdigita.search.filters
Class DateRangeFilterSpecification
java.lang.Object
com.arsdigita.search.FilterSpecification
com.arsdigita.search.filters.DateRangeFilterSpecification
- public class DateRangeFilterSpecification
- extends FilterSpecification
A filter spec for supplying two dates (start & end)
for filtering on the item's launch date.
START_DATE
public static final String START_DATE
- See Also:
- Constant Field Values
END_DATE
public static final String END_DATE
- See Also:
- Constant Field Values
DateRangeFilterSpecification
public DateRangeFilterSpecification(Date start,
Date end,
FilterType filterType)
- Creates a new filter restricting results to have
a launch date within a given range, inclusive.
- Parameters:
start
- the start dateend
- the end date
getStartDate
public Date getStartDate()
- Start of the date range for filtering
- Returns:
- the start date
getEndDate
public Date getEndDate()
- End of the date range for filtering
- Returns:
- the end date
Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 21 2004:2337 UTC