[ 
http://issues.apache.org/jira/browse/AXIS-1907?page=comments#action_62189 ]
     
Bobby Lawrence commented on AXIS-1907:
--------------------------------------

OK - 
I guess the "Z" character is fine.
You stated that "the recieving end generally converts times in to the desired 
timezone."
How is this done?  Surely not in the CalendarDeserializer...it will never know 
the correct timezone...only the one for the current locale.

> 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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira

Reply via email to