public class EdalDateRange extends EdalDate
EdalDate.STANDART_EVENT_TYPESALL_RIGHTS_RESERVED, EMPTY, string| Constructor and Description |
|---|
EdalDateRange(java.util.Calendar startDate,
EdalDatePrecision startPrecision,
java.util.Calendar endDate,
EdalDatePrecision endPrecision,
java.lang.String event)
Default constructor to create a
EdalDateRange with a specified
startDate, startPrecision, endDate, endPrecision and event description. |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(UntypedData object) |
boolean |
equals(java.lang.Object obj) |
java.util.Calendar |
getEndDate()
Getter for the endDate of this
EdalDateRange. |
EdalDatePrecision |
getEndPrecision()
Getter for the endPrecission of this
EdalDateRange. |
int |
hashCode() |
void |
setEndDate(java.util.Calendar endDate)
Setter for the endDate of this
EdalDateRange. |
void |
setEndPrecision(EdalDatePrecision endPrecision)
Setter for the endPrecision of this
EdalDateRange. |
java.lang.String |
toString() |
getEvent, getStartDate, getStartPrecision, setEvent, setStartDate, setStartPrecisiongetString, setString, toHTMLpublic EdalDateRange(java.util.Calendar startDate,
EdalDatePrecision startPrecision,
java.util.Calendar endDate,
EdalDatePrecision endPrecision,
java.lang.String event)
EdalDateRange with a specified
startDate, startPrecision, endDate, endPrecision and event description.startDate - the start date of the time range.startPrecision - the precision of the given start date.endDate - the end date of the time rangeendPrecision - the precision of the given end date.event - the description of the time range.public int compareTo(UntypedData object)
UntypedDatacompareTo in interface java.lang.Comparable<UntypedData>compareTo in class EdalDatepublic java.util.Calendar getEndDate()
EdalDateRange.public EdalDatePrecision getEndPrecision()
EdalDateRange.public void setEndDate(java.util.Calendar endDate)
EdalDateRange.endDate - the endDate to setpublic void setEndPrecision(EdalDatePrecision endPrecision)
EdalDateRange.endPrecision - the endPrecision to set