#include "qwt_date.h"
#include <qdebug.h>
#include <qlocale.h>
#include <math.h>
#include <limits>
#include <limits.h>
Go to the source code of this file.
Typedefs | |
typedef int | QwtJulianDay |
Functions | |
static QString | qwtExpandedFormat (const QString &format, const QDateTime &dateTime, QwtDate::Week0Type week0Type) |
static Qt::DayOfWeek | qwtFirstDayOfWeek () |
static qint64 | qwtFloorDiv (int a, int b) |
static qint64 | qwtFloorDiv64 (qint64 a, int b) |
static void | qwtFloorTime (QwtDate::IntervalType intervalType, QDateTime &dt) |
static QDate | qwtToDate (int year, int month=1, int day=1) |
static double | qwtToJulianDay (int year, int month, int day) |
static QDateTime | qwtToTimeSpec (const QDateTime &dt, Qt::TimeSpec spec) |
Variables | |
static const QwtJulianDay | maxJulianDayD = std::numeric_limits<int>::max() |
static const QwtJulianDay | minJulianDayD = 1 |
typedef int QwtJulianDay |
Definition at line 28 of file qwt_date.cpp.
static QString qwtExpandedFormat | ( | const QString & | format, |
const QDateTime & | dateTime, | ||
QwtDate::Week0Type | week0Type | ||
) | [static] |
Definition at line 34 of file qwt_date.cpp.
static Qt::DayOfWeek qwtFirstDayOfWeek | ( | ) | [inline, static] |
Definition at line 117 of file qwt_date.cpp.
static qint64 qwtFloorDiv | ( | int | a, |
int | b | ||
) | [inline, static] |
Definition at line 278 of file qwt_date.cpp.
static qint64 qwtFloorDiv64 | ( | qint64 | a, |
int | b | ||
) | [inline, static] |
Definition at line 270 of file qwt_date.cpp.
static void qwtFloorTime | ( | QwtDate::IntervalType | intervalType, |
QDateTime & | dt | ||
) | [inline, static] |
Definition at line 197 of file qwt_date.cpp.
static QDate qwtToDate | ( | int | year, |
int | month = 1 , |
||
int | day = 1 |
||
) | [inline, static] |
Definition at line 286 of file qwt_date.cpp.
static double qwtToJulianDay | ( | int | year, |
int | month, | ||
int | day | ||
) | [inline, static] |
Definition at line 257 of file qwt_date.cpp.
static QDateTime qwtToTimeSpec | ( | const QDateTime & | dt, |
Qt::TimeSpec | spec | ||
) | [inline, static] |
Definition at line 235 of file qwt_date.cpp.
const QwtJulianDay maxJulianDayD = std::numeric_limits<int>::max() [static] |
Definition at line 30 of file qwt_date.cpp.
const QwtJulianDay minJulianDayD = 1 [static] |
Definition at line 29 of file qwt_date.cpp.