Module datetime :: Class time
[hide private]
[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.

Instance Methods [hide private]
 
__eq__(x, y)
x==y
 
__ge__(x, y)
x>=y
 
__getattribute__(...)
x.__getattribute__('name') <==> x.name
 
__gt__(x, y)
x>y
 
__hash__(x)
hash(x)
 
__le__(x, y)
x<=y
 
__lt__(x, y)
x<y
 
__ne__(x, y)
x!=y
a new object with type S, a subtype of T
__new__(T, S, ...)
 
__nonzero__(x)
x != 0
(cls, state)
__reduce__()
 
__repr__(x)
repr(x)
 
__str__(x)
str(x)
 
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 Variables [hide private]
  max = datetime.time(23, 59, 59, 999999)
  min = datetime.time(0, 0)
  resolution = datetime.timedelta(0, 0, 1)
Properties [hide private]
  hour
  microsecond
  minute
  second
  tzinfo
Method Details [hide private]

__getattribute__(...)

 

x.__getattribute__('name') <==> x.name

Overrides: object.__getattribute__

__hash__(x)
(Hashing function)

 

hash(x)

Overrides: object.__hash__

__new__(T, S, ...)

 
Returns: a new object with type S, a subtype of T
Overrides: object.__new__

__reduce__()

 
Returns: (cls, state)
Overrides: object.__reduce__

__repr__(x)
(Representation operator)

 

repr(x)

Overrides: object.__repr__

__str__(x)
(Informal representation operator)

 

str(x)

Overrides: object.__str__