com.jivesoftware.util
Class UnboundedDateRange
java.lang.Object
com.jivesoftware.util.UnboundedDateRange
- All Implemented Interfaces:
- DateRange
public class UnboundedDateRange
- extends java.lang.Object
- implements DateRange
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UnboundedDateRange
public UnboundedDateRange()
getDisplayName
public java.lang.String getDisplayName()
- Description copied from interface:
DateRange
- Returns a string representing a human-readable descriptive name of
this date range.
- Specified by:
getDisplayName
in interface DateRange
- Returns:
- a descriptive name of this date range.
getUpperBound
public DateRange getUpperBound()
setUpperBound
public void setUpperBound(DateRange upperBound)
getLowerBound
public DateRange getLowerBound()
setLowerBound
public void setLowerBound(DateRange lowerBound)
getStartDate
public java.util.Date getStartDate(java.util.Date date,
javax.servlet.http.HttpServletRequest request,
User user)
- Description copied from interface:
DateRange
- Returns a specific start date for this date range based on the specified
date.
- Specified by:
getStartDate
in interface DateRange
- Parameters:
date
- the date to base a date range calculation on. Most often,
this will be the current instance in time.request
- the request object that may have locale information in it.user
- the User to use in determining locale
- Returns:
- a specific start date based on date.
getEndDate
public java.util.Date getEndDate(java.util.Date date,
javax.servlet.http.HttpServletRequest request,
User user)
- Description copied from interface:
DateRange
- Returns a specific end date for this date range based on the specified
date.
- Specified by:
getEndDate
in interface DateRange
- Parameters:
date
- the date to base a date range calculation on. Most often,
this will be the current instance in time.request
- the request object that may have locale information in it.user
- the User to use in determining locale
- Returns:
- a specific end date based on date.
Copyright © 1999-2006 Jive Software.