public class DateString
extends java.lang.Object
implements java.io.Serializable
Class that represents an element transformation between a Date and a string in a specific format: .
Project:Library for the integration with the services of @Firma, eVisor and TS@.
| Constructor and Description |
|---|
DateString(java.util.Date dateParam)
Constructor method for the class DateString.java.
|
DateString(java.lang.String dateStringParam)
Constructor method for the class DateString.java.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Date |
getDate()
Gets the value of the attribute
date. |
java.lang.String |
getDateString()
Gets the value of the attribute
dateString. |
java.lang.String |
toString() |
public DateString(java.util.Date dateParam)
dateParam - Date to set.public DateString(java.lang.String dateStringParam)
dateStringParam - Date to set in string format.public final java.util.Date getDate()
throws java.text.ParseException
date.date.java.text.ParseException - In case of some error parsing the input date string.public final java.lang.String getDateString()
dateString.dateString.public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()