|
Jive Forums API (5.5.8) Developer Javadocs | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DateRange
A DateRange converts an abstract starting and ending time into specific instances in time. For example, the conceptual date range of "last year" might be translated into the actual start and end date of "January 1, 2000" to "December 31, 2000."
| 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)
Returns a specific end date for this date range based on the specified date. |
java.util.Date |
getStartDate(java.util.Date date)
Returns a specific start date for this date range based on the specified date. |
| Method Detail |
|---|
java.util.Date getStartDate(java.util.Date date)
date - the date to base a date range calculation on. Most often,
this will be the current instance in time.
java.util.Date getEndDate(java.util.Date date)
date - the date to base a date range calculation on. Most often,
this will be the current instance in time.
java.lang.String getDisplayName()
|
Jive Forums Project Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||