public class DateRange extends Object implements Serializable
An open ended date range can be described by only setting either one of the bounds, the upper bound or the lower bound.
| Constructor and Description |
|---|
DateRange() |
DateRange(Date startDate,
Date endDate) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static org.apache.axis.encoding.Deserializer |
getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Deserializer
|
Date |
getEndDate()
Gets the endDate value for this DateRange.
|
static org.apache.axis.encoding.Serializer |
getSerializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Serializer
|
Date |
getStartDate()
Gets the startDate value for this DateRange.
|
static org.apache.axis.description.TypeDesc |
getTypeDesc()
Return type metadata object
|
int |
hashCode() |
void |
setEndDate(Date endDate)
Sets the endDate value for this DateRange.
|
void |
setStartDate(Date startDate)
Sets the startDate value for this DateRange.
|
String |
toString() |
public Date getStartDate()
endDate must be specified.public void setStartDate(Date startDate)
startDate - * The start date of this range. This field is optional and if
it is not set then there is no
lower bound on the date range. If this field is not
set then endDate must be specified.public Date getEndDate()
startDate must be specified.public void setEndDate(Date endDate)
endDate - * The end date of this range. This field is optional and if it
is not set then there is no upper
bound on the date range. If this field is not set
then startDate must be specified.public static org.apache.axis.description.TypeDesc getTypeDesc()
public static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
Copyright © 2021. All rights reserved.