com.adobe.solutions.prm.sdk.valueobject
Class DateRange

java.lang.Object
  extended by com.adobe.solutions.prm.sdk.valueobject.DateRange
All Implemented Interfaces:
Serializable

public class DateRange
extends Object
implements Serializable

Represents a date range to be used in search filter. A date range has a start date and end date.

See Also:
Serialized Form

Constructor Summary
DateRange(Date startDate, Date endDate)
          Create an instance of DateRange, given a start date and end date
 
Method Summary
 Date getEnd()
          Gets the end date of the range
 Date getStart()
          gets the start date of the range
 void setEnd(Date end)
          Sets the end date of the range
 void setStart(Date start)
          Sets the start date of the range
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DateRange

public DateRange(Date startDate,
                 Date endDate)
Create an instance of DateRange, given a start date and end date

Parameters:
startDate - start date of the range
endDate - end date of the range
Method Detail

setStart

public void setStart(Date start)
Sets the start date of the range

Parameters:
start - start date of the range

getStart

public Date getStart()
gets the start date of the range

Returns:
the start date of the range

setEnd

public void setEnd(Date end)
Sets the end date of the range

Parameters:
end - the end date of the range

getEnd

public Date getEnd()
Gets the end date of the range

Returns:
the end date of the range


[an error occurred while processing this directive] [an error occurred while processing this directive]