Author: knoaman
Date: Wed Dec  2 19:19:31 2009
New Revision: 886274

URL: http://svn.apache.org/viewvc?rev=886274&view=rev
Log:
Add support for dateTimeStamp simple type and explicitTimezone facet. Patch by 
Ken Cai with minor modifications by Khaled Noaman.

Modified:
    
xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/dv/xs/AbstractDateTimeDV.java

Modified: 
xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/dv/xs/AbstractDateTimeDV.java
URL: 
http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/dv/xs/AbstractDateTimeDV.java?rev=886274&r1=886273&r2=886274&view=diff
==============================================================================
--- 
xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/dv/xs/AbstractDateTimeDV.java
 (original)
+++ 
xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/dv/xs/AbstractDateTimeDV.java
 Wed Dec  2 19:19:31 2009
@@ -89,6 +89,10 @@
                                ((DateTimeData)value2), true);
        }//compare()
        
+       public boolean hasTimeZone(Object value){
+           return ((DateTimeData)value).hasTimeZone();
+       }
+       
        /**
         * Compare algorithm described in dateDime (3.2.7).
         * Duration datatype overwrites this method



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to