yes here it is,

package com.thomsonreuters.ls.api.util;

import java.text.SimpleDateFormat;
import java.util.Date;

import javax.xml.bind.annotation.adapters.XmlAdapter;

public class DateAdapter extends XmlAdapter<String, Date> {

    private SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd
HH:mm:ss");

    @Override
    public String marshal(Date v) throws Exception {
        return dateFormat.format(v);
    }

    @Override
    public Date unmarshal(String v) throws Exception {
        return dateFormat.parse(v);
    }

}



--
View this message in context: 
http://cxf.547215.n5.nabble.com/Format-of-Date-Field-changed-after-apache-cxf-and-wildfly-upgradation-tp5756208p5756288.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to