Sean Rohead wrote:

> I would like to set the timezone for incoming dates to UTC, but I have
> not been able to figure out how to do this.  I found that XmlRpcClient
> has a setTimeZone method to change the timezone for *outgoing* messages
> and their responses.  However, I have not found anything to do this for
> *incoming* messages.  I have looked at the code in WebServer and it
> doesn't look like this is possible, but can someone please tell me if I
> have missed something.

With version 3, you would create a subclass of TypeFactoryImpl and overwrite
it to handle calendar or date values differently. This works for both client
and server.

With version 2, you can overwrite the XmlRpcClientResponseProcessor to
return a modified version of DefaultTypeFactory.


Jochen

  • TimeZone Sean Rohead
    • Re: TimeZone Jochen Wiedmann

Reply via email to