[prev in list] [next in list] [prev in thread] [next in thread]
List: zope-cvs
Subject: [Zope-Checkins] SVN: Zope/trunk/lib/python/DateTime/interfaces.py
From: Philipp von Weitershausen <philikon () philikon ! de>
Date: 2005-11-28 14:53:55
Message-ID: 20051128145355.830972032E1 () mail ! zope ! org
[Download RAW message or body]
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
_______________________________________________
Zope-Checkins maillist - Zope-Checkins@zope.org
http://mail.zope.org/mailman/listinfo/zope-checkins
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic