30#include "qwt_global.h"
122 JulianDayForEpoch = 2440588
125 static QDate minDate();
126 static QDate maxDate();
128 static QDateTime toDateTime(
double value,
129 Qt::TimeSpec = Qt::UTC );
131 static double toDouble(
const QDateTime& );
133 static QDateTime ceil(
const QDateTime&, IntervalType );
134 static QDateTime floor(
const QDateTime&, IntervalType );
136 static QDate dateOfWeek0(
int year, Week0Type );
137 static int weekNumber(
const QDate&, Week0Type );
139 static int utcOffset(
const QDateTime& );
141 static QString toString(
const QDateTime&,
142 const QString& format, Week0Type );
A collection of methods around date/time values.
Definition qwt_date.h:60
Week0Type
How to identify the first week of year differs between countries.
Definition qwt_date.h:67
@ FirstThursday
According to ISO 8601 the first week of a year is defined as "the week with the year's first Thursday...
Definition qwt_date.h:75
IntervalType
Classification of an time interval.
Definition qwt_date.h:93
@ Month
The interval is related to months.
Definition qwt_date.h:113
@ Day
The interval is related to days.
Definition qwt_date.h:107
@ Millisecond
The interval is related to milliseconds.
Definition qwt_date.h:95
@ Minute
The interval is related to minutes.
Definition qwt_date.h:101
@ Hour
The interval is related to hours.
Definition qwt_date.h:104
@ Second
The interval is related to seconds.
Definition qwt_date.h:98
@ Week
The interval is related to weeks.
Definition qwt_date.h:110