QGIS API Documentation 3.41.0-Master (3440c17df1d)
|
#include "qgsinterval.h"
#include "qgsunittypes.h"
#include <QString>
#include <QStringList>
#include <QMap>
#include <QObject>
#include <QDebug>
#include <QDateTime>
#include <QRegularExpression>
Go to the source code of this file.
Functions | |
QDateTime | operator+ (const QDateTime &start, const QgsInterval &interval) |
Adds an interval to a datetime. | |
QgsInterval | operator- (QDate date1, QDate date2) |
Returns the interval between two dates. | |
QgsInterval | operator- (QTime time1, QTime time2) |
Returns the interval between two times. | |
QDebug | operator<< (QDebug dbg, const QgsInterval &interval) |
Debug string representation of interval. | |
QDateTime operator+ | ( | const QDateTime & | start, |
const QgsInterval & | interval | ||
) |
Adds an interval to a datetime.
start | initial datetime |
interval | interval to add |
Definition at line 318 of file qgsinterval.cpp.
QgsInterval operator- | ( | QDate | date1, |
QDate | date2 | ||
) |
Returns the interval between two dates.
date1 | start date |
date2 | date to subtract, ie subtract date2 from date1 |
Definition at line 323 of file qgsinterval.cpp.
QgsInterval operator- | ( | QTime | time1, |
QTime | time2 | ||
) |
Returns the interval between two times.
time1 | start time |
time2 | time to subtract, ie subtract time2 from time1 |
Definition at line 329 of file qgsinterval.cpp.
QDebug operator<< | ( | QDebug | dbg, |
const QgsInterval & | interval | ||
) |
Debug string representation of interval.
Definition at line 299 of file qgsinterval.cpp.