axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Veithen (JIRA)" <>
Subject [jira] Commented: (AXIS2-4152) ConverterUtil.convertToString(Calendar) returns timezone instead of zone offset
Date Mon, 01 Dec 2008 13:00:48 GMT


Andreas Veithen commented on AXIS2-4152:

Assume that I'm in Adelaide on 1st of December and that wall time is 11:00. Since DST is in
effect and the time zone offset is +9:30, this means that UTC is 0:30. What do you expect
convertToString to return?

a) 2008-12-01T11:00:00.000+10:30
b) 2008-12-01T10:00:00.000+9:30
c) 2008-12-01T11:00:00.000+9:30

> ConverterUtil.convertToString(Calendar) returns timezone instead of zone offset
> -------------------------------------------------------------------------------
>                 Key: AXIS2-4152
>                 URL:
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: adb
>    Affects Versions: 1.4.1
>         Environment: Axis 2, Weblogic, java 1.4.2
>            Reporter: Gavin Pearce
> According to my interpretation of the XML Schema spec (
) the zone offset should be returned as part of the date component instead of the timezone.
 This affects regions that have daylight saving time in effect.  In Adelaide we have daylight
saving during the summer period and the value returned from convertToString becomes 2008-11-28T11:01:54.232+10:30
during that period whereas it should remain at 2008-11-28T11:01:54.232+09:30
> This code was changed between release 1.4.0 and 1.4.1.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message