OFTTime
This class represents an OGR Field Type for time values, extending the base Field class. It provides a property to retrieve the field's data as a native Python time object by extracting hour, minute, and second components from the underlying data structure.
Attributes
| Attribute | Type | Description |
|---|---|---|
| value | datetime.time | Return a Python time object for this OFTTime field. |
Constructor
Signature
def OFTTime()
Methods
value()
@classmethod
def value() - > time
Return a Python time object for this OFTTime field.
Returns
| Type | Description |
|---|---|
time | A Python time object representing the hour, minute, and second of the field, or None if the value is invalid or cannot be parsed. |