org.openestate.io.openimmo.xml.Adapter3 Maven / Gradle / Ivy
package org.openestate.io.openimmo.xml;
import java.util.Calendar;
import javax.xml.bind.annotation.adapters.XmlAdapter;
public class Adapter3
extends XmlAdapter
{
public Calendar unmarshal(String value) {
return (org.openestate.io.openimmo.OpenImmoUtils.parseDateTime(value));
}
public String marshal(Calendar value) {
return (org.openestate.io.openimmo.OpenImmoUtils.printDateTime(value));
}
}