----- Original Message -----
From: "Ramaswamy, Muthu" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 13, 2002 18:22
Subject: RE: Date Serialization by Apache Client.


> I am in PST Timezone. The ZONE_OFFSET: is -8:00 hours.
>
> So I would expect to see a Timestamp with Time Zone of "2002-11-11
00:00:00
> -8:00" for the Date "2002-11-11" with 00:00:00 time component.
>
> Looks like it adds 8:00 hours to refer it to GMT time.

java.util.Date has to TZ info, so expect confusion wherever it gets
received; axis' assumptions may be different from others

use the Calendar class, and explicitly set your TZ. It also gets marshalled
as an xsd:date, but the TZ is correct.

Reply via email to