public abstract class DatePeriod extends Object implements Serializable
| Modifier | Constructor and Description |
|---|---|
protected |
DatePeriod() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object)
Indicates if the argument is of the same type and all values are equal.
|
Date |
getEndDate() |
Date |
getStartDate() |
int |
hashCode() |
protected void |
initialize()
Hook for initializing the object in the subclass
|
static DatePeriod |
newInstance(Date startDate,
Date endDate)
Creates a new instance of
DatePeriod
taking all properties. |
static DatePeriod |
newInstance(DatePeriod otherObject)
Creates a new instance from other DatePeriod instance.
|
void |
setEndDate(Date endDate) |
void |
setStartDate(Date startDate) |
public static DatePeriod newInstance(Date startDate, Date endDate)
DatePeriod
taking all properties.public static DatePeriod newInstance(DatePeriod otherObject)
protected void initialize()
public Date getStartDate()
public void setStartDate(Date startDate)
public Date getEndDate()
public void setEndDate(Date endDate)
public boolean equals(Object object)
Copyright © 2013. All Rights Reserved.