![]() |
Qt 6.x
The Qt SDK
|
#include <qv4dateobject_p.h>
Collaboration diagram for QV4::Date:Public Member Functions | |
| void | init () |
| void | init (double value) |
| void | init (const QDateTime &dateTime) |
| void | init (QDate date) |
| void | init (QTime time, ExecutionEngine *engine) |
| Date & | operator= (double value) |
| operator double () const | |
| QDate | toQDate () const |
| QTime | toQTime () const |
| QDateTime | toQDateTime () const |
| QVariant | toVariant () const |
| template<typename Function > | |
| bool | withStoragePointer (Function function) |
Static Public Attributes | |
| static constexpr quint64 | MaxDateVal = 8.64e15 |
Definition at line 29 of file qv4dateobject_p.h.
|
inline |
Definition at line 33 of file qv4dateobject_p.h.
Definition at line 640 of file qv4dateobject.cpp.
References encode.
| void Date::init | ( | double | value | ) |
Definition at line 635 of file qv4dateobject.cpp.
References encode.
Definition at line 645 of file qv4dateobject.cpp.
References date, encode, QDate::startOfDay(), and QTimeZone::UTC.
Here is the call graph for this function:| void Date::init | ( | QTime | time, |
| ExecutionEngine * | engine | ||
| ) |
Definition at line 650 of file qv4dateobject.cpp.
References d, encode, engine, QTime::hour(), QTime::isValid(), MakeDate(), MakeDay(), MakeTime(), QTime::minute(), QTime::msec(), qt_qnan(), QTime::second(), time, and UTC().
Here is the call graph for this function:
|
inline |
Definition at line 45 of file qv4dateobject_p.h.
References MaxDateVal, and qt_qnan().
Here is the call graph for this function:
|
inline |
Definition at line 39 of file qv4dateobject_p.h.
References encode.
| QDate Date::toQDate | ( | ) | const |
Definition at line 676 of file qv4dateobject.cpp.
References QDateTime::date(), and toQDateTime().
Referenced by toVariant(), and withStoragePointer().
Here is the call graph for this function:
Here is the caller graph for this function:| QDateTime Date::toQDateTime | ( | ) | const |
Definition at line 686 of file qv4dateobject.cpp.
References QTimeZone::LocalTime, and ToDateTime().
Referenced by toQDate(), toQTime(), toVariant(), and withStoragePointer().
Here is the call graph for this function:
Here is the caller graph for this function:| QTime Date::toQTime | ( | ) | const |
Definition at line 681 of file qv4dateobject.cpp.
References QDateTime::time(), and toQDateTime().
Referenced by toVariant(), and withStoragePointer().
Here is the call graph for this function:
Here is the caller graph for this function:| QVariant Date::toVariant | ( | ) | const |
Definition at line 691 of file qv4dateobject.cpp.
References toQDate(), toQDateTime(), and toQTime().
Here is the call graph for this function:Definition at line 63 of file qv4dateobject_p.h.
References date, dateTime, function, time, toQDate(), toQDateTime(), and toQTime().
Here is the call graph for this function:
|
staticconstexpr |
Definition at line 31 of file qv4dateobject_p.h.
Referenced by operator double().