|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.icu.util.DateInterval
public final class DateInterval
This class represents date interval. It is a pair of long representing from date 1 to date 2.
Constructor Summary | |
---|---|
DateInterval(long from,
long to)
Constructor given from date and to date. |
Method Summary | |
---|---|
boolean |
equals(Object a)
Override equals |
long |
getFromDate()
Get the from date. |
long |
getToDate()
Get the to date. |
int |
hashCode()
Override hashcode |
String |
toString()
Override toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DateInterval(long from, long to)
from
- The from date in date interval.to
- The to date in date interval.Method Detail |
---|
public long getFromDate()
public long getToDate()
public boolean equals(Object a)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |