public class EdalDate extends UntypedData
| Modifier and Type | Class and Description |
|---|---|
static class |
EdalDate.STANDART_EVENT_TYPES |
ALL_RIGHTS_RESERVED, EMPTY, string| Constructor and Description |
|---|
EdalDate(java.util.Calendar startDate,
EdalDatePrecision startPrecision,
java.lang.String event)
Default constructor to create a
EdalDate with a specified date,
precision and event description. |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(UntypedData object) |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getEvent()
Getter for the event of this
EdalDate. |
java.util.Calendar |
getStartDate()
Getter for the startDate of this
EdalDate. |
EdalDatePrecision |
getStartPrecision()
Getter for the precision of this
EdalDate. |
int |
hashCode() |
void |
setEvent(java.lang.String event)
Setter for the event of this
EdalDate. |
void |
setStartDate(java.util.Calendar startDate)
Setter for the startDate of this
EdalDate. |
void |
setStartPrecision(EdalDatePrecision startPrecision)
Setter for the precision of this
EdalDate. |
java.lang.String |
toString() |
getString, setString, toHTMLpublic EdalDate(java.util.Calendar startDate,
EdalDatePrecision startPrecision,
java.lang.String event)
EdalDate with a specified date,
precision and event description.startDate - the date of the time point.startPrecision - the precision of the given date.event - the description of the time point.public int hashCode()
hashCode in class UntypedDatapublic boolean equals(java.lang.Object obj)
equals in class UntypedDatapublic int compareTo(UntypedData object)
UntypedDatacompareTo in interface java.lang.Comparable<UntypedData>compareTo in class UntypedDatapublic java.lang.String getEvent()
EdalDate.EdalDate.public java.util.Calendar getStartDate()
EdalDate.public EdalDatePrecision getStartPrecision()
EdalDate.public void setEvent(java.lang.String event)
EdalDate.event - the event to set.public void setStartDate(java.util.Calendar startDate)
EdalDate.startDate - the startDate to setpublic void setStartPrecision(EdalDatePrecision startPrecision)
EdalDate.startPrecision - the startPrecision to setpublic java.lang.String toString()
toString in class UntypedData