Serializablepublic final class DateInterval extends Object implements Serializable
| Constructor | Description |
|---|---|
DateInterval(long from,
long to) |
Constructor given from date and to date.
|
| Modifier and Type | Method | 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.Copyright © 2016 Unicode, Inc. and others.