[Zope-Checkins] CVS: Zope/lib/python/DateTime - DateTime.py:1.75

Chris Withers chrisw@nipltd.com
Wed, 6 Feb 2002 15:07:54 -0500


Update of /cvs-repository/Zope/lib/python/DateTime
In directory cvs.zope.org:/tmp/cvs-serv23211

Modified Files:
	DateTime.py 
Log Message:
Removed un-necessary code.

=== Zope/lib/python/DateTime/DateTime.py 1.74 => 1.75 ===
         return float(self._t)
 
-    def debugCompare(self, dt):
-        '''Compares the internal representation of the date with
-        the representation in dt.  Allows sub-millisecond variations.
-        Primarily for testing.'''
-        return self.millis() == dt.millis() and \
-               math.floor(self._t * 1000.0) == \
-               math.floor(dt._t * 1000.0) and \
-               math.floor(self._d * 86400000.0) == \
-               math.floor(dt._d * 86400000.0) and \
-               math.floor(self.time * 86400000.0) == \
-               math.floor(dt.time * 86400000.0)
-
-
     def _parse_iso8601(self,s):
         try:
             return self.__parse_iso8601(s)