2018-09-17 20:25:02 +02:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include <QTime>
|
|
|
|
|
|
|
|
|
|
#include "dbcorelib_global.h"
|
|
|
|
|
|
|
|
|
|
int DBCORELIB_EXPORT timeToSeconds(const QTime &time);
|
|
|
|
|
QTime DBCORELIB_EXPORT timeBetween(const QTime &l, const QTime &r);
|
|
|
|
|
QTime DBCORELIB_EXPORT timeAdd(const QTime &l, const QTime &r);
|
|
|
|
|
QTime DBCORELIB_EXPORT timeNormalise(const QTime &time);
|
2018-11-16 23:14:28 +01:00
|
|
|
|
|
|
|
|
QDate DBCORELIB_EXPORT beginOfMonth(QDate date);
|
|
|
|
|
QDate DBCORELIB_EXPORT endOfMonth(const QDate &date);
|