class documentation

class OFTDateTime(Field):

View In Hierarchy

Undocumented

Property value Return a Python datetime object for this OFTDateTime field.

Inherited from Field:

Method __init__ Initialize on the feature object and the integer index of the field within the feature.
Method __str__ Return the string representation of the Field.
Method as​_datetime Retrieve the Field's value as a tuple of date & time components.
Method as​_double Retrieve the Field's value as a double (float).
Method as​_int Retrieve the Field's value as an integer.
Method as​_string Retrieve the Field's value as a string.
Instance Variable __class__ Undocumented
Instance Variable ​_feat Undocumented
Instance Variable ​_index Undocumented
Instance Variable ptr Undocumented
Property is​_set Return True if the value of this field isn't null, False otherwise.
Property name Return the name of this Field.
Property precision Return the precision of this Field.
Property type Return the OGR type of this Field.
Property type​_name Return the OGR field type name for this Field.
Property width Return the width of this Field.

Inherited from CPointerBase (via Field, GDALBase):

Method __del__ Free the memory used by the C++ object.
Method ptr.setter Undocumented
Class Variable destructor Undocumented
Instance Variable ​_ptr Undocumented
@property
value =
Return a Python datetime object for this OFTDateTime field.