13 #include "qwt_global.h"
14 #include <qdatetime.h>
105 JulianDayForEpoch = 2440588
108 static QDate minDate();
109 static QDate maxDate();
111 static QDateTime toDateTime(
double value,
112 Qt::TimeSpec = Qt::UTC );
114 static double toDouble(
const QDateTime & );
116 static QDateTime ceil(
const QDateTime &, IntervalType );
117 static QDateTime floor(
const QDateTime &, IntervalType );
119 static QDate dateOfWeek0(
int year, Week0Type );
120 static int weekNumber(
const QDate &, Week0Type );
122 static int utcOffset(
const QDateTime & );
124 static QString toString(
const QDateTime &,
125 const QString & format, Week0Type );
@ Minute
The interval is related to minutes.
Definition: qwt_date.h:84
@ Week
The interval is related to weeks.
Definition: qwt_date.h:93
IntervalType
Definition: qwt_date.h:76
A collection of methods around date/time values.
Definition: qwt_date.h:43
@ Month
The interval is related to months.
Definition: qwt_date.h:96
@ Day
The interval is related to days.
Definition: qwt_date.h:90
@ FirstThursday
Definition: qwt_date.h:58
Week0Type
Definition: qwt_date.h:50
@ Second
The interval is related to seconds.
Definition: qwt_date.h:81
@ Hour
The interval is related to hours.
Definition: qwt_date.h:87
@ Millisecond
The interval is related to milliseconds.
Definition: qwt_date.h:78