Package zope :: Package interface :: Package common :: Module idatetime :: Class ITimeDelta
[show private | hide private]
[frames | no frames]

Type ITimeDelta

  Interface --+    
              |    
ITimeDeltaClass --+
                  |
                 ITimeDelta


Represent the difference between two datetime objects.

Supported operators:

- add, subtract timedelta
- unary plus, minus, abs
- compare to timedelta
- multiply, divide by int/long

In addition, datetime supports subtraction of two datetime objects
returning a timedelta, and addition or subtraction of a datetime
and a timedelta giving a datetime.

Representation: (days, seconds, microseconds).

Class Variable Summary
str days = 'Days between -999999999 and 999999999 inclusive'...
str max = 'The most positive timedelta object'
str microseconds = 'Microseconds between 0 and 999999 inclus...
str min = 'The most negative timedelta object'
str resolution = 'The smallest difference between non-equal ...
str seconds = 'Seconds between 0 and 86399 inclusive'

Class Variable Details

days

Type:
str
Value:
'Days between -999999999 and 999999999 inclusive'                      

max

Type:
str
Value:
'The most positive timedelta object'                                   

microseconds

Type:
str
Value:
'Microseconds between 0 and 999999 inclusive'                          

min

Type:
str
Value:
'The most negative timedelta object'                                   

resolution

Type:
str
Value:
'The smallest difference between non-equal timedelta objects'          

seconds

Type:
str
Value:
'Seconds between 0 and 86399 inclusive'                                

Generated by Epydoc 2.1 on Fri Jun 24 12:01:20 2005 http://epydoc.sf.net