public class DateInfoType
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
XML_NAME |
Constructor and Description |
---|
DateInfoType()
Create a new DateInfoType with current date/time
|
DateInfoType(java.util.GregorianCalendar date,
java.util.TimeZone zone)
Create a new DateInfoType
|
Modifier and Type | Method and Description |
---|---|
java.util.Date |
getIsoDate()
Get date formated according to ISO8601 (done by jaxb->xsd:datetime conversion)
|
long |
getMillis() |
java.lang.String |
getRfcDate()
Get date formated according to RFC822 (also java standard)
|
public static final java.lang.String XML_NAME
public DateInfoType(java.util.GregorianCalendar date, java.util.TimeZone zone)
date
- date/timepublic DateInfoType()
public long getMillis()
public java.util.Date getIsoDate()
public java.lang.String getRfcDate()