40 mAvailableTemporalRange = dateTimeRange;
45 return mAvailableTemporalRange;
Base class for handling properties relating to a data provider's temporal capabilities.
bool hasTemporalCapabilities() const
Returns true if the provider has temporal capabilities available.
void setHasTemporalCapabilities(bool available)
Sets whether the provider has temporal capabilities available.
void setEndField(const QString &field)
Sets the name of the end datetime field, which stores the end time for the feature's time spans.
TemporalMode mode() const
Returns the temporal properties mode.
QgsVectorDataProviderTemporalCapabilities(bool enabled=false)
Constructor for QgsVectorDataProviderTemporalCapabilities.
const QgsDateTimeRange & availableTemporalRange() const
Returns the datetime range extent from which temporal data is available from the provider.
QString startField() const
Returns the name of the start datetime field, which contains the start time for the feature's time sp...
QString endField() const
Returns the name of the end datetime field, which stores the end time for the feature's time spans.
void setStartField(const QString &field)
Sets the name of the start datetime field, which stores the start time for the feature's time spans.
void setAvailableTemporalRange(const QgsDateTimeRange &range)
Sets the datetime range extent from which temporal data is available from the provider.
TemporalMode
Provider temporal handling mode.
void setMode(TemporalMode mode)
Sets the temporal properties mode.