public class TimeAdapter extends XmlAdapter<String,Date>
| Constructor and Description |
|---|
TimeAdapter() |
| Modifier and Type | Method and Description |
|---|---|
protected SimpleDateFormat |
getDateFormat() |
String |
marshal(Date date) |
Date |
unmarshal(String v) |
protected SimpleDateFormat getDateFormat()
public Date unmarshal(String v) throws Exception
unmarshal in class XmlAdapter<String,Date>ExceptionCopyright © 2022 NPO. All rights reserved.