Package suds :: Package sax :: Module date :: Class DateTime
[hide private]
[frames] | no frames]

Class DateTime

source code

Date --+
       |
Time --+
       |
      DateTime
Known Subclasses:

An XML time object. Supported formats:

Instance Methods [hide private]
 
__init__(self, date) source code
 
__adjust(self)
Adjust for TZ offset.
source code
 
__str__(self) source code
 
__unicode__(self) source code

Inherited from Date: day, month, year

Inherited from Time: hour, microsecond, minute, second

Instance Variables [hide private]
datetime.datedate datetime
The object value.

Inherited from Date: date

Inherited from Time: tz

Method Details [hide private]

__init__(self, date)
(Constructor)

source code 
Parameters:
  • date ((datetime|str)) - The value of the object.
Raises:
  • ValueError - When tm is invalid.
Overrides: Time.__init__

__str__(self)
(Informal representation operator)

source code 
Overrides: Time.__str__

__unicode__(self)

source code 
Overrides: Time.__unicode__