|
Jive Forums API (5.5.20.2-oracle) Developer Javadocs | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jivesoftware.util.AbsoluteDateRange
public class AbsoluteDateRange
Represents a date range between two fixed instances in time.
Constructor Summary | |
---|---|
AbsoluteDateRange(java.util.Date startDate,
java.util.Date endDate)
Creates a representation of an absolute date range based on startDate and endDate. |
Method Summary | |
---|---|
java.lang.String |
getDisplayName()
Returns a string representing a human-readable descriptive name of this date range. |
java.util.Date |
getEndDate(java.util.Date date,
javax.servlet.http.HttpServletRequest request,
User user)
Returns the end date passed into the constructor. |
java.util.Date |
getStartDate(java.util.Date date,
javax.servlet.http.HttpServletRequest request,
User user)
Returns the start date passed into the constructor. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbsoluteDateRange(java.util.Date startDate, java.util.Date endDate)
startDate
- the starting date of this date range.endDate
- the ending date of this date range.Method Detail |
---|
public java.lang.String getDisplayName()
DateRange
getDisplayName
in interface DateRange
public java.util.Date getStartDate(java.util.Date date, javax.servlet.http.HttpServletRequest request, User user)
getStartDate
in interface DateRange
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
public java.util.Date getEndDate(java.util.Date date, javax.servlet.http.HttpServletRequest request, User user)
getEndDate
in interface DateRange
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
|
Jive Forums Project Page | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |