axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ami...@apache.org
Subject svn commit: r673144 - /webservices/axis2/trunk/java/modules/adb/src/org/apache/axis2/databinding/utils/ConverterUtil.java
Date Tue, 01 Jul 2008 17:14:00 GMT
Author: amilas
Date: Tue Jul  1 10:14:00 2008
New Revision: 673144

URL: http://svn.apache.org/viewvc?rev=673144&view=rev
Log:
added the Daylight saving when calculating the off set

Modified:
    webservices/axis2/trunk/java/modules/adb/src/org/apache/axis2/databinding/utils/ConverterUtil.java

Modified: webservices/axis2/trunk/java/modules/adb/src/org/apache/axis2/databinding/utils/ConverterUtil.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/adb/src/org/apache/axis2/databinding/utils/ConverterUtil.java?rev=673144&r1=673143&r2=673144&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/adb/src/org/apache/axis2/databinding/utils/ConverterUtil.java
(original)
+++ webservices/axis2/trunk/java/modules/adb/src/org/apache/axis2/databinding/utils/ConverterUtil.java
Tue Jul  1 10:14:00 2008
@@ -160,7 +160,7 @@
     }
 
     public static void appendTimeZone(Calendar calendar, StringBuffer dateString) {
-        int timezoneOffSet = calendar.get(Calendar.ZONE_OFFSET);
+        int timezoneOffSet = calendar.get(Calendar.ZONE_OFFSET) + calendar.get(Calendar.DST_OFFSET);
         int timezoneOffSetInMinits = timezoneOffSet / 60000;
         if (timezoneOffSetInMinits < 0){
             dateString.append("-");



Mime
View raw message