[Zope-Checkins] SVN: Zope/trunk/lib/python/DateTime/interfaces.py some minor reshifting

Philipp von Weitershausen philikon at philikon.de
Mon Nov 28 09:53:55 EST 2005


Log message for revision 40388:
  some minor reshifting
  

Changed:
  U   Zope/trunk/lib/python/DateTime/interfaces.py

-=-
Modified: Zope/trunk/lib/python/DateTime/interfaces.py
===================================================================
--- Zope/trunk/lib/python/DateTime/interfaces.py	2005-11-28 14:49:38 UTC (rev 40387)
+++ Zope/trunk/lib/python/DateTime/interfaces.py	2005-11-28 14:53:55 UTC (rev 40388)
@@ -154,10 +154,6 @@
 
     __le__ = lessThanEqualTo
 
-    def dayOfYear():
-        """Return the day of the year, in context of the timezone
-        representation of the object"""
-
     # Component access
 
     def parts():
@@ -200,6 +196,10 @@
     def DayOfWeek():
         """Compatibility: see Day"""
 
+    def dayOfYear():
+        """Return the day of the year, in context of the timezone
+        representation of the object"""
+
     def aDay():
         """Return the abreviated name of the day of the week"""
 
@@ -348,7 +348,7 @@
         """A DateTime may be added to a number and a number may be
         added to a DateTime; two DateTimes cannot be added."""
 
-    __radd__=__add__
+    __radd__ = __add__
 
     def __sub__(other):
         """Either a DateTime or a number may be subtracted from a



More information about the Zope-Checkins mailing list