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&,
The interval is related to weeks.
The interval is related to months.
double toDouble(const void *data)
The interval is related to minutes.
The interval is related to hours.
The interval is related to milliseconds.
A collection of methods around date/time values.
The interval is related to seconds.
std::basic_string< Char > format(const text_style &ts, const S &format_str, const Args &... args)
The interval is related to days.