Author: jochen
Date: Wed May 17 16:44:00 2006
New Revision: 407402
URL: http://svn.apache.org/viewvc?rev=407402&view=rev
Log:
The XML-RPC specification demands, that no timezone specification is printed.
Modified:
webservices/xmlrpc/trunk/common/src/main/java/org/apache/xmlrpc/serializer/DateSerializer.java
Modified:
webservices/xmlrpc/trunk/common/src/main/java/org/apache/xmlrpc/serializer/DateSerializer.java
URL:
http://svn.apache.org/viewvc/webservices/xmlrpc/trunk/common/src/main/java/org/apache/xmlrpc/serializer/DateSerializer.java?rev=407402&r1=407401&r2=407402&view=diff
==============================================================================
---
webservices/xmlrpc/trunk/common/src/main/java/org/apache/xmlrpc/serializer/DateSerializer.java
(original)
+++
webservices/xmlrpc/trunk/common/src/main/java/org/apache/xmlrpc/serializer/DateSerializer.java
Wed May 17 16:44:00 2006
@@ -15,7 +15,7 @@
*/
package org.apache.xmlrpc.serializer;
-import org.apache.ws.commons.util.XsDateTimeFormat;
+import org.apache.ws.commons.util.XmlRpcDateTimeFormat;
import org.xml.sax.ContentHandler;
import org.xml.sax.SAXException;
@@ -26,7 +26,7 @@
/** Tag name of a date value.
*/
public static final String DATE_TAG = "dateTime.iso8601";
- private static final XsDateTimeFormat format = new XsDateTimeFormat();
+ private static final XmlRpcDateTimeFormat format = new
XmlRpcDateTimeFormat();
public void write(ContentHandler pHandler, Object pObject) throws
SAXException {
write(pHandler, DATE_TAG, format.format(pObject));
}