public class TimeDuration
extends java.lang.Object
| Constructor and Description |
|---|
TimeDuration()
Initializes a new instance of the TimeDuration class.
|
TimeDuration(java.util.Date startTime,
java.util.Date endTime)
Initializes a new instance of the TimeDuration class.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Date |
getEndTime()
Gets the end of the time span set with an OOF status.
|
java.util.Date |
getStartTime()
Gets the start of the time span set with an OOF status.
|
void |
setEndTime(java.util.Date endTime)
Sets the end of the time span set with an OOF status.
|
void |
setStartTime(java.util.Date startTime)
Sets the start of the time span set with an OOF status.
|
public TimeDuration()
public TimeDuration(java.util.Date startTime,
java.util.Date endTime)
startTime - the start timeendTime - the end timepublic java.util.Date getStartTime()
public void setStartTime(java.util.Date startTime)
startTime - the new start timepublic java.util.Date getEndTime()
public void setEndTime(java.util.Date endTime)
endTime - the new end time