QGIS API Documentation 3.32.0-Lima (311a8cb8a6)
|
#include "qgis_sip.h"
#include "qgis_core.h"
#include "qgis.h"
#include <QDate>
#include <QDateTime>
Go to the source code of this file.
Classes | |
class | QgsDoubleRange |
QgsRange which stores a range of double values. More... | |
class | QgsIntRange |
QgsRange which stores a range of integer values. More... | |
class | QgsRange< T > |
A template based class for storing ranges (lower to upper values). More... | |
class | QgsTemporalRange< T > |
A template based class for storing temporal ranges (beginning to end values). More... | |
Typedefs | |
typedef QgsTemporalRange< QDate > QgsDateRange | SIP_DOC_TEMPLATE |
QgsRange which stores a range of dates. More... | |
typedef QgsTemporalRange< QDateTime > QgsDateTimeRange SIP_DOC_TEMPLATE |
QgsRange which stores a range of dates.
QgsRange which stores a range of date times.
Invalid QDates as the beginning or end are permitted. In this case, the bound is considered to be infinite. E.g. QgsDateRange(QDate(),QDate(2017,1,1)) is treated as a range containing all dates before 2017-1-1. QgsDateRange(QDate(2017,1,1),QDate()) is treated as a range containing all dates after 2017-1-1.
Invalid QDateTimes as the beginning or end are permitted. In this case, the bound is considered to be infinite. E.g. QgsDateTimeRange(QDateTime(),QDateTime(2017,1,1)) is treated as a range containing all dates before 2017-1-1. QgsDateTimeRange(QDateTime(2017,1,1),QDateTime()) is treated as a range containing all dates after 2017-1-1.
Definition at line 680 of file qgsrange.h.