Module datetime :: Class time
[frames | no frames]

Type time

object --+
         |
        time


time([hour[, minute[, second[, microsecond[, tzinfo]]]]]) --> a time object

All arguments are optional. tzinfo may be None, or an instance of a tzinfo subclass. The remaining arguments may be ints or longs.
Method Summary
  dst(...)
Return self.tzinfo.dst(self).
  isoformat(...)
Return string in ISO 8601 format, HH:MM:SS[.mmmmmm][+HH:MM].
  replace(...)
Return time with new specified fields.
  strftime(...)
format -> strftime() style string.
  tzname(...)
Return self.tzinfo.tzname(self).
  utcoffset(...)
Return self.tzinfo.utcoffset(self).

Class Variable Summary
getset_descriptor hour = <attribute 'hour' of 'datetime.time' objects>
time max = datetime.time(23, 59, 59, 999999)
getset_descriptor microsecond = <attribute 'microsecond' of 'datetime.time...
time min = datetime.time(0, 0)
getset_descriptor minute = <attribute 'minute' of 'datetime.time' objects>
timedelta resolution = datetime.timedelta(0, 0, 1)
getset_descriptor second = <attribute 'second' of 'datetime.time' objects>
getset_descriptor tzinfo = <attribute 'tzinfo' of 'datetime.time' objects>

Method Details

dst(...)

Return self.tzinfo.dst(self).

isoformat(...)

Return string in ISO 8601 format, HH:MM:SS[.mmmmmm][+HH:MM].

replace(...)

Return time with new specified fields.

strftime(...)

format -> strftime() style string.

tzname(...)

Return self.tzinfo.tzname(self).

utcoffset(...)

Return self.tzinfo.utcoffset(self).

Class Variable Details

hour

Type:
getset_descriptor
Value:
<attribute 'hour' of 'datetime.time' objects>                          

max

Type:
time
Value:
datetime.time(23, 59, 59, 999999)                                      

microsecond

Type:
getset_descriptor
Value:
<attribute 'microsecond' of 'datetime.time' objects>                   

min

Type:
time
Value:
datetime.time(0, 0)                                                    

minute

Type:
getset_descriptor
Value:
<attribute 'minute' of 'datetime.time' objects>                        

resolution

Type:
timedelta
Value:
datetime.timedelta(0, 0, 1)                                            

second

Type:
getset_descriptor
Value:
<attribute 'second' of 'datetime.time' objects>                        

tzinfo

Type:
getset_descriptor
Value:
<attribute 'tzinfo' of 'datetime.time' objects>                        

Generated by Epydoc 2.1 on Mon Jan 29 16:46:03 2007 http://epydoc.sf.net