com.interstarinc.xmedius.sendfax.model
Class DateType

java.lang.Object
  extended by 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)
 
Constructor Summary
DateType(Date date)
           
 
Method Summary
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

DateType

public DateType(Date date)
Method Detail

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.