axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ezhil Gowthaman <>
Subject Re: [jira] Commented: (AXIS-1622) Time zone not deserialized properly
Date Tue, 26 Oct 2004 15:22:17 GMT
Hi Ashutosh,
Thanks for the quick response.
Actually I have four databases in different States(having different time zones).
I can't use calendar.setTimeZone(java.util.TimeZone.getDefault()); in my client code (Swing
as it would still give the Time in client's timezone.
The WSDL2Java uses java.util.Calendar and JavatoWSDL uses xsd:time mapped to java.util.Date
the backend code.
We can't use a standard time zone.
Is there any way round to display the database time (for the client) without specifying the
Any ideas/suggestions would be greatly helpful for me.
Thanks in advance,

"Ashutosh Shahi (JIRA)" <> wrote:
[ ]

Ashutosh Shahi commented on AXIS-1622:

You can use Calendar.setTimeZone method to set the TimeZone used by the database. Hope that

> Time zone not deserialized properly
> -----------------------------------
> Key: AXIS-1622
> URL:
> Project: Axis
> Type: Bug
> Reporter: ANJANA

> Hi,
> I have an issue using java.util.Calendar.I don't know whether it is a 
> bug or an issue in my code.
> if it is an issue,could you please mail me how to resolve it?
> The generated java file uses java.util.Calendar for displaying 
> datetime.
> The datetime is displayed in users LOCAL datetime.
> Is there anyway to avoid this?.
> I want the datetime to be displayed as it is in the database.
> I don't want it to be converted to LOCAL time.
> Any ides/suggestions would greatly be helpful for me.
> Thanks,

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
If you want more information on JIRA, or have a bug to report see:

Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
View raw message