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

Type ITime

Interface --+    
            |    
   ITimeClass --+
                |
               ITime


Represent time with time zone.

Operators:

__repr__, __str__ __cmp__, __hash__
Class Variable Summary
method-wrapper __str__ = <method-wrapper object at 0xb488a6ac>
str dst = "Return 0 if DST is not in effect, or the DST offs...
str hour = 'Hour in range(24)'
str isoformat = 'Return a string representing the time in IS...
str max = 'The latest representable time'
str microsecond = 'Microsecond in range(1000000)'
str min = 'The earliest representable time'
str minute = 'Minute in range(60)'
str replace = 'Return a time with the same value.\n\n       ...
str resolution = 'The smallest possible difference between n...
str second = 'Second in range(60)'
str strftime = 'Return a string representing the time.\n\n  ...
str tzinfo = 'The object passed as the tzinfo argument to th...
str tzname = "Return the timezone name.\n\n        If tzinfo...
str utcoffset = "Return the timezone offset in minutes east ...

Class Variable Details

__str__

Type:
method-wrapper
Value:
<method-wrapper object at 0xb488a6ac>                                  

dst

Type:
str
Value:
"""Return 0 if DST is not in effect, or the DST offset (in minutes
        eastward) if DST is in effect.

        If tzinfo is None, returns None, else returns self.tzinfo.dst(\
None),
        and raises an exception if the latter doesn't return None, or \
a
        timedelta object representing a whole number of minutes with
...                                                                    

hour

Type:
str
Value:
'Hour in range(24)'                                                    

isoformat

Type:
str
Value:
'''Return a string representing the time in ISO 8601 format.

        That is HH:MM:SS.mmmmmm or, if self.microsecond is 0, HH:MM:SS
        If utcoffset() does not return None, a 6-character string is a\
ppended,
        giving the UTC offset in (signed) hours and minutes:
        HH:MM:SS.mmmmmm+HH:MM or, if self.microsecond is 0, HH:MM:SS+H\
H:MM
...                                                                    

max

Type:
str
Value:
'The latest representable time'                                        

microsecond

Type:
str
Value:
'Microsecond in range(1000000)'                                        

min

Type:
str
Value:
'The earliest representable time'                                      

minute

Type:
str
Value:
'Minute in range(60)'                                                  

replace

Type:
str
Value:
'''Return a time with the same value.

        Except for those members given new values by whichever keyword
        arguments are specified. Note that tzinfo=None can be specifie\
d
        to create a naive time from an aware time, without conversion \
of the
        time members.
...                                                                    

resolution

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

second

Type:
str
Value:
'Second in range(60)'                                                  

strftime

Type:
str
Value:
'''Return a string representing the time.

        This is controlled by an explicit format string.
        '''                                                            

tzinfo

Type:
str
Value:
'''The object passed as the tzinfo argument to the time constructor
        or None if none was passed.'''                                 

tzname

Type:
str
Value:
"""Return the timezone name.

        If tzinfo is None, returns None, else returns self.tzinfo.tzna\
me(None),
        or raises an exception if the latter doesn't return None or a \
string
        object.
        """                                                            

utcoffset

Type:
str
Value:
"""Return the timezone offset in minutes east of UTC (negative west of
        UTC).

        If tzinfo is None, returns None, else returns
        self.tzinfo.utcoffset(None), and raises an exception if the la\
tter
        doesn't return None or a timedelta object representing a whole\
 number
...                                                                    

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