|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.tws.objects.types.PeriodInterval
This class includes the information required to describe period days intervals.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT
Copyright. |
Constructor Summary | |
---|---|
PeriodInterval()
Creates an empty PeriodInterval object. |
|
PeriodInterval(java.util.Date origin,
java.util.Date end)
Creates a PeriodInterval object with the specified origin and end dates. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object object)
Returns true if all fields of this PeriodInterval object are equal to those of the given one. |
java.util.Date |
getEndDate()
Returns the interval end date. |
java.util.Date |
getOriginDate()
Returns the interval origin date. |
int |
hashCode()
Returns a hash code for this PeriodInterval object. |
void |
setEndDate(java.util.Date end)
Sets the interval end date. |
void |
setOriginDate(java.util.Date origin)
Sets the interval origin date. |
java.lang.String |
toString()
Returns a string representation of this PeriodInterval object. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String COPYRIGHT
Constructor Detail |
public PeriodInterval()
public PeriodInterval(java.util.Date origin, java.util.Date end)
origin
- The interval origin date.end
- The interval end date.Method Detail |
public java.util.Date getOriginDate()
public java.util.Date getEndDate()
public void setOriginDate(java.util.Date origin)
origin
- The interval origin date.public void setEndDate(java.util.Date end)
end
- The interval end date.public boolean equals(java.lang.Object object)
object
- The object to be compared with this one.
public int hashCode()
public java.lang.String toString()
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |