public class DateAdapter
extends javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,java.util.Date>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DATE_FORMAT |
| Constructor and Description |
|---|
DateAdapter() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
marshal(java.util.Date d) |
java.util.Date |
unmarshal(java.lang.String d) |
public static final java.lang.String DATE_FORMAT
public java.lang.String marshal(java.util.Date d)
marshal in class javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,java.util.Date>public java.util.Date unmarshal(java.lang.String d)
throws java.text.ParseException
unmarshal in class javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,java.util.Date>java.text.ParseExceptionCopyright © 2018 SAP SE. All Rights Reserved.