You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@vxquery.apache.org by pr...@apache.org on 2012/08/24 00:13:22 UTC
svn commit: r1376733 -
/incubator/vxquery/trunk/vxquery/vxquery-core/src/main/java/org/apache/vxquery/datamodel/util/DateTime.java
Author: prestonc
Date: Thu Aug 23 22:13:22 2012
New Revision: 1376733
URL: http://svn.apache.org/viewvc?rev=1376733&view=rev
Log:
Removed the null timezone since they are now UTC at this point in the code.
Modified:
incubator/vxquery/trunk/vxquery/vxquery-core/src/main/java/org/apache/vxquery/datamodel/util/DateTime.java
Modified: incubator/vxquery/trunk/vxquery/vxquery-core/src/main/java/org/apache/vxquery/datamodel/util/DateTime.java
URL: http://svn.apache.org/viewvc/incubator/vxquery/trunk/vxquery/vxquery-core/src/main/java/org/apache/vxquery/datamodel/util/DateTime.java?rev=1376733&r1=1376732&r2=1376733&view=diff
==============================================================================
--- incubator/vxquery/trunk/vxquery/vxquery-core/src/main/java/org/apache/vxquery/datamodel/util/DateTime.java (original)
+++ incubator/vxquery/trunk/vxquery/vxquery-core/src/main/java/org/apache/vxquery/datamodel/util/DateTime.java Thu Aug 23 22:13:22 2012
@@ -144,8 +144,8 @@ public class DateTime {
dOut.writeByte((byte) hour);
dOut.writeByte((byte) minute);
dOut.writeInt((int) millisecond);
- dOut.writeByte((byte) DateTime.TIMEZONE_HOUR_NULL);
- dOut.writeByte((byte) DateTime.TIMEZONE_MINUTE_NULL);
+ dOut.writeByte((byte) 0);
+ dOut.writeByte((byte) 0);
}
public static void getTimezoneDateTime(ITimezone timezonep, DynamicContext dCtx, DataOutput dOut)