public class AvailabilityDate
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
Constructor and Description |
---|
AvailabilityDate()
Default constructor
|
AvailabilityDate(java.util.Calendar pDate,
long pQuantity)
Constructs an availability date with the given date and quantity
|
Modifier and Type | Method and Description |
---|---|
java.util.Calendar |
getAvailableDate()
Gets the date the quantity will be available
|
java.util.Date |
getDate()
Returns the date of this AvailabilityDate
|
long |
getQuantity()
Gets the quantity
|
void |
setAvailableDate(java.util.Calendar pDate)
Set the date when the quantity will be available
|
void |
setQuantity(long pQuantity)
Sets the quantity of this availability date
|
public AvailabilityDate()
public AvailabilityDate(java.util.Calendar pDate, long pQuantity)
pDate
- the datepQuantity
- the quantitypublic void setAvailableDate(java.util.Calendar pDate)
pDate
- the date to setpublic java.util.Calendar getAvailableDate()
public void setQuantity(long pQuantity)
pQuantity
- the quantity to setpublic long getQuantity()
public java.util.Date getDate()