Class: QgsTemporalUtils

class qgis.core.QgsTemporalUtils

Bases: sip.wrapper

Contains utility methods for working with temporal layers and projects.

Methods

calculateTemporalRangeForProject

Calculates the temporal range for a project.

calculateTemporalRangeForProject(project: QgsProject)QgsDateTimeRange

Calculates the temporal range for a project.

This method considers the temporal range available from layers contained within the project and returns the maximal combined temporal extent of these layers.

Parameters

project (QgsProject) –

Return type

QgsDateTimeRange