You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Davanum Srinivas (JIRA)" <ax...@ws.apache.org> on 2005/04/23 04:16:25 UTC

[jira] Resolved: (AXIS-1907) Calendar De|Serializer with incorrect date format

     [ http://issues.apache.org/jira/browse/AXIS-1907?page=all ]
     
Davanum Srinivas resolved AXIS-1907:
------------------------------------

    Resolution: Won't Fix

See tom's comments.

-- dims

> Calendar De|Serializer with incorrect date format
> -------------------------------------------------
>
>          Key: AXIS-1907
>          URL: http://issues.apache.org/jira/browse/AXIS-1907
>      Project: Axis
>         Type: Bug
>   Components: Serialization/Deserialization
>  Environment: Windows XP Pro, Java 1.4.2, Axis 1.2RC3
>     Reporter: Bobby Lawrence

>
> The CalendarSerializer and CalendarDeserializer are supposed to know how to convert betweeb date/time strings and java.util.Calendar objects.
> The problem is, it will never know how to convert the timezone information because of the incorrect format in its private static SimpleDateFormat object.
> The format is given as:
> yyyy-MM-dd'T'HH:mm:ss.SSS'Z'
> As you can clearly see, the letter Z is single quoted and therefore will pass through as a literal 'Z' instead of timezone information like -007 or something.
> This same format is in both the serializer and deserializer classes and everytime Axis serializes my objects into XML, it places a 'Z' character instead of the timezone.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira