This class may be initialized with seconds since the epoch, a time tuple, an ISO 8601 time/date string, or a datetime .datetime, datetime .date or datetime .time instance. It has the following methods, supported mainly for internal use by the marshalling/unmarshalling code:
It also supports certain of Python's built-in operators through __cmp__() and __repr__() methods.