com.interstarinc.xmedius.sendfax.model
Class DateType
java.lang.Object
com.interstarinc.xmedius.sendfax.model.DateType
public class DateType
- extends Object
This type safe date class defines the date format
yyyy-MM-ddTHH:mm:ss
- Author:
- Nicolas Presseault
- See Also:
IFaxModel,
IFaxOptions
|
Field Summary |
private Date |
date
|
static String |
DATE_FORMAT
The XSD date format as defined in
XSD standard |
static String |
NO_DATE
The string value to be returned when there is no date set
(since the property is optional, that means the fax is not delayed) |
DATE_FORMAT
public static final String DATE_FORMAT
- The XSD date format as defined in
XSD standard
- See Also:
- Constant Field Values
NO_DATE
public static final String NO_DATE
- The string value to be returned when there is no date set
(since the property is optional, that means the fax is not delayed)
date
private Date date
DateType
public DateType(Date date)
toString
public String toString()
- Overrides:
toString in class Object
- Returns:
- This date type string representation or NO_DATE if there is no date
The XML builder uses this value when converting the fax model to the XML document.