axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jorge Ribeiro (JIRA)" <axis-...@ws.apache.org>
Subject [jira] [Commented] (AXIS-1557) xs:datetime to Calendar
Date Mon, 20 Apr 2015 14:02:59 GMT

    [ https://issues.apache.org/jira/browse/AXIS-1557?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14502878#comment-14502878
] 

Jorge Ribeiro commented on AXIS-1557:
-------------------------------------

Hi, in sourcecode of axis 1.4.1 i found this in CalendarDeserializer:

 zulu.setTimeZone(TimeZone.getTimeZone("GMT"));

> xs:datetime to Calendar
> -----------------------
>
>                 Key: AXIS-1557
>                 URL: https://issues.apache.org/jira/browse/AXIS-1557
>             Project: Axis
>          Issue Type: Bug
>    Affects Versions: 1.2 Beta
>         Environment: windows 2000/ java 1.4
>            Reporter: jon salabsab
>
> I don't know if this a bug or not but here is what we are experiencing:
> In axis, the xs:datetime field that gets converted into a java.util.Calendar object does
not have the correct time value based on the calendar object's TimeZone.
> Specifically:
> The server TimeZone is PST. The xml datetime field value
> comming in is 2004-08-23T06:17:40.000Z
> The calendar object will have the correct Timezone (GMT) but
> the actual time value is already adjusted to PST (which is 8 hours less). Shouldn't it
still be 2004-08-23T06:17:40 since the TimeZone in the Caledar object is GMT?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message