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

Type IDateClass

Interface --+
            |
           IDateClass

Known Subclasses:
IDate

This is the date class interface.
Class Variable Summary
str fromordinal = 'Return the date corresponding to the prol...
str fromtimestamp = "Return the local date from a POSIX time...
str max = 'The latest representable date'
str min = 'The earliest representable date'
str resolution = 'The smallest difference between non-equal ...
str today = 'Return the current local time.\n\n        This ...

Class Variable Details

fromordinal

Type:
str
Value:
'''Return the date corresponding to the proleptic Gregorian ordinal.

         January 1 of year 1 has ordinal 1. ValueError is raised unles\
s
         1 <= ordinal <= date.max.toordinal().
         For any date d, date.fromordinal(d.toordinal()) == d.
         '''                                                           

fromtimestamp

Type:
str
Value:
"""Return the local date from a POSIX timestamp (like time.time())

        This may raise ValueError, if the timestamp is out of the rang\
e of
        values supported by the platform C localtime() function. It's \
common
        for this to be restricted to years from 1970 through 2038. Not\
e that
...                                                                    

max

Type:
str
Value:
'The latest representable date'                                        

min

Type:
str
Value:
'The earliest representable date'                                      

resolution

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

today

Type:
str
Value:
'''Return the current local time.

        This is equivalent to date.fromtimestamp(time.time())'''       

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