public class Period extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected Date |
endDate |
protected Date |
startDate |
Constructor and Description |
---|
Period()
Create a period object
|
Period(Date startDate,
Date endDate)
Create a period object
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Date |
getEndDate() |
Date |
getStartDate() |
int |
hashCode() |
void |
setEndDate(Date endDate) |
void |
setStartDate(Date startDate) |
public Period(Date startDate, Date endDate)
startDate
- endDate
- public Period()
public Date getStartDate()
public void setStartDate(Date startDate)
startDate
- public Date getEndDate()
public void setEndDate(Date endDate)
endDate
- Copyright © 2022 Visiativ. All rights reserved.