| Home | Trees | Index | Help | 
|---|
| Package vobject :: Module icalendar :: Class DateTimeBehavior | 
 | 
object--+ |Behavior--+ | DateTimeBehavior
UTCDateTimeBehavior| Method Summary | |
|---|---|
| Replace the datetime in obj.value with an ISO 8601 string. (Static method) | |
| Turn obj.value into a datetime. (Static method) | |
| Inherited from Behavior | |
|  | |
| (Class method) | |
| (Class method) | |
| Generate any required information that don't yet exist. (Class method) | |
| Examine a line's parameters and values, return True if valid. (Class method) | |
| Set implicit parameters, do encoding, return unicode string. (Class method) | |
| Check if the object satisfies this behavior's requirements. (Class method) | |
| Inherited from object | |
| x.__delattr__('name') <==> del x.name | |
| x.__getattribute__('name') <==> x.name | |
| x.__hash__() <==> hash(x) | |
| T.__new__(S, ...) -> a new object with type S, a subtype of T | |
| helper for pickle | |
| helper for pickle | |
| x.__repr__() <==> repr(x) | |
| x.__setattr__('name', value) <==> x.name = value | |
| x.__str__() <==> str(x) | |
| Class Variable Summary | |
|---|---|
| bool | hasNative: A boolean describing whether the object can be transformed into a more 
Pythonic object. | 
| Inherited from Behavior | |
| bool | allowGroup: Whether or not vCard style group prefixes are allowed. | 
| str | description: A brief excerpt from the RFC explaining the function of the component 
or line. | 
| bool | isComponent: A boolean, True if the object should be a Component. | 
| dict | knownChildren: A dictionary with uppercased component/property names as keys and a 
tuple (min, max, id) as value, where id is the id used byregisterBehavior, min and max are the limits on how many of 
this child must occur. | 
| str | name: The uppercase name of the object described by the class, or a generic 
name if the class defines behavior for many objects. | 
| bool | quotedPrintable: A boolean describing whether the object should be encoded and decoded 
using quoted printable line folding and character escaping. | 
| list | sortFirst: The lower-case list of children which should come first when 
sorting. | 
| str | versionString: The string associated with the component, for instance, 2.0 if there's 
a line like VERSION:2.0, an empty string otherwise. | 
| Static Method Details | 
|---|
| transformFromNative(obj, preserveTZ=True)Replace the datetime in obj.value with an ISO 8601 string.
 | 
| transformToNative(obj)Turn obj.value into a datetime. RFC2445 allows times without time zone information, "floating times" in some properties. Mostly, this isn't what you want, but when parsing a file, real floating times are noted by setting to 'TRUE' the X-VOBJ-FLOATINGTIME-ALLOWED parameter.If a TZID exists, the X-VOBJ-PRESERVE-TZID parameter will be set to 'TRUE' so the TZID will be recreated when output. 
 | 
| Class Variable Details | 
|---|
| hasNativeA boolean describing whether the object can be transformed into a more Pythonic object.
 | 
| Home | Trees | Index | Help | 
|---|
| Generated by Epydoc 2.1 on Fri Dec 14 17:25:15 2007 | http://epydoc.sf.net |