public class EdalDateRange extends EdalDate
EdalDate.STANDART_EVENT_TYPESEMPTY, string| Constructor and Description |
|---|
EdalDateRange(Calendar startDate,
EdalDatePrecision startPrecision,
Calendar endDate,
EdalDatePrecision endPrecision,
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(Object obj) |
Calendar |
getEndDate()
Getter for the endDate of this
EdalDateRange. |
EdalDatePrecision |
getEndPrecision()
Getter for the endPrecission of this
EdalDateRange. |
int |
hashCode() |
void |
setEndDate(Calendar endDate)
Setter for the endDate of this
EdalDateRange. |
void |
setEndPrecision(EdalDatePrecision endPrecision)
Setter for the endPrecision of this
EdalDateRange. |
String |
toString() |
getEvent, getStartDate, getStartPrecision, setEvent, setStartDate, setStartPrecisiongetString, setString, toHTMLpublic EdalDateRange(Calendar startDate, EdalDatePrecision startPrecision, Calendar endDate, EdalDatePrecision endPrecision, 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 Comparable<UntypedData>compareTo in class EdalDatepublic Calendar getEndDate()
EdalDateRange.public EdalDatePrecision getEndPrecision()
EdalDateRange.public void setEndDate(Calendar endDate)
EdalDateRange.endDate - the endDate to setpublic void setEndPrecision(EdalDatePrecision endPrecision)
EdalDateRange.endPrecision - the endPrecision to setCopyright © 2015 Leibniz Institute of Plant Genetics and Crop Plant Research (IPK). All rights reserved.