|
Jive Forums API (5.5.8) 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)
Returns the end date passed into the constructor. |
java.util.Date |
getStartDate(java.util.Date date)
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 DateRangepublic java.util.Date getStartDate(java.util.Date date)
getStartDate in interface DateRangedate - the date to base a date range calculation on. Most often,
this will be the current instance in time.
public java.util.Date getEndDate(java.util.Date date)
getEndDate in interface DateRangedate - the date to base a date range calculation on. Most often,
this will be the current instance in time.
|
Jive Forums Project Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||