public class DateTimeAdapter
extends javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,org.joda.time.DateTime>
Constructor and Description |
---|
DateTimeAdapter() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
marshal(org.joda.time.DateTime dateTime) |
org.joda.time.DateTime |
unmarshal(java.lang.String value) |
public java.lang.String marshal(org.joda.time.DateTime dateTime) throws java.lang.Exception
marshal
in class javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,org.joda.time.DateTime>
java.lang.Exception
public org.joda.time.DateTime unmarshal(java.lang.String value) throws java.lang.Exception
unmarshal
in class javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,org.joda.time.DateTime>
java.lang.Exception
Copyright © 2007-2020 EDIT. All Rights Reserved.