public class APIDate
extends java.lang.Object
| Constructor | Description |
|---|---|
APIDate() |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.Date |
getDate() |
This method returns the value of
this.date. |
java.lang.String |
getFormatedDate() |
This method process
this.date to build the accept date
format using the pattern "yyyy-MM-dd". |
void |
setDate(java.util.Date date) |
This method receives an date to set it on
this.date. |
public void setDate(java.util.Date date)
this.date.date - APIDate a numerical date.public java.util.Date getDate()
this.date.APIDatepublic java.lang.String getFormatedDate()
this.date to build the accept date
format using the pattern "yyyy-MM-dd".String
The date format accept by API.