public final class DateInterval extends Object implements Serializable
Constructor and Description |
---|
DateInterval(long from,
long to)
Constructor given from date and to date.
|
Modifier and Type | Method and Description |
---|---|
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
|
public DateInterval(long from, long to)
from
- The from date in date interval.to
- The to date in date interval.public long getFromDate()
public long getToDate()
public boolean equals(Object a)
public int hashCode()
Copyright © 2016 Unicode, Inc. and others.