#include <QVariant>
#include "qgis.h"
#include "qgis_core.h"
Go to the source code of this file.
◆ operator+()
QDateTime CORE_EXPORT operator+ |
( |
const QDateTime & |
start, |
|
|
const QgsInterval & |
interval |
|
) |
| |
Adds an interval to a datetime.
- Parameters
-
start | initial datetime |
interval | interval to add |
- Note
- not available in Python bindings
- Since
- QGIS 2.16
◆ operator-() [1/3]
QgsInterval CORE_EXPORT operator- |
( |
const QDateTime & |
datetime1, |
|
|
const QDateTime & |
datetime2 |
|
) |
| |
Returns the interval between two datetimes.
- Parameters
-
datetime1 | start datetime |
datetime2 | datetime to subtract, ie subtract datetime2 from datetime1 |
- Note
- not available in Python bindings
- Since
- QGIS 2.16
Definition at line 115 of file qgsinterval.cpp.
◆ operator-() [2/3]
QgsInterval CORE_EXPORT operator- |
( |
QDate |
date1, |
|
|
QDate |
date2 |
|
) |
| |
Returns the interval between two dates.
- Parameters
-
date1 | start date |
date2 | date to subtract, ie subtract date2 from date1 |
- Note
- not available in Python bindings
- Since
- QGIS 2.16
Definition at line 126 of file qgsinterval.cpp.
◆ operator-() [3/3]
QgsInterval CORE_EXPORT operator- |
( |
QTime |
time1, |
|
|
QTime |
time2 |
|
) |
| |
Returns the interval between two times.
- Parameters
-
time1 | start time |
time2 | time to subtract, ie subtract time2 from time1 |
- Note
- not available in Python bindings
- Since
- QGIS 2.16
Definition at line 132 of file qgsinterval.cpp.
◆ operator<<()
QDebug operator<< |
( |
QDebug |
dbg, |
|
|
const QgsInterval & |
interval |
|
) |
| |