public interface Temporal
Temporal
is used to indicate the object endures for a
period of time.
Modifier and Type | Method and Description |
---|---|
DateTime |
getEndDate()
Gets the end date.
|
DateTime |
getStartDate()
Gets the start date.
|
boolean |
isEffective()
Tests if the current date is within the start end end dates inclusive.
|
boolean isEffective()
true
if this is effective, false
otherwisemandatory
- This method must be implemented. DateTime getStartDate()
mandatory
- This method must be implemented. DateTime getEndDate()
mandatory
- This method must be implemented.