Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QV4::Date Struct Reference

#include <qv4dateobject_p.h>

Collaboration diagram for QV4::Date:

Public Member Functions

void init ()
void init (Date date)
void init (double value)
void init (const QDateTime &dateTime)
void init (QDate date)
void init (QTime time, ExecutionEngine *engine)
Dateoperator= (double value)
 operator double () const
QDate toQDate () const
QTime toQTime () const
QDateTime toQDateTime () const
QVariant toVariant () const
template<typename Function>
bool withReadonlyStoragePointer (Function function)
template<typename Function>
bool withWriteonlyStoragePointer (Function function, ExecutionEngine *engine)

Static Public Attributes

static constexpr quint64 MaxDateVal = 8.64e15

Detailed Description

Definition at line 30 of file qv4dateobject_p.h.

Member Function Documentation

◆ init() [1/6]

void QV4::Date::init ( )
inline

Definition at line 34 of file qv4dateobject_p.h.

◆ init() [2/6]

void Date::init ( const QDateTime & dateTime)

Definition at line 641 of file qv4dateobject.cpp.

◆ init() [3/6]

void QV4::Date::init ( Date date)
inline

Definition at line 35 of file qv4dateobject_p.h.

◆ init() [4/6]

void Date::init ( double value)

Definition at line 636 of file qv4dateobject.cpp.

Referenced by withWriteonlyStoragePointer().

Here is the caller graph for this function:

◆ init() [5/6]

void Date::init ( QDate date)

Definition at line 646 of file qv4dateobject.cpp.

◆ init() [6/6]

void Date::init ( QTime time,
ExecutionEngine * engine )

Definition at line 651 of file qv4dateobject.cpp.

◆ operator double()

QV4::Date::operator double ( ) const
inline

Definition at line 47 of file qv4dateobject_p.h.

Referenced by withReadonlyStoragePointer().

Here is the caller graph for this function:

◆ operator=()

Date & QV4::Date::operator= ( double value)
inline

Definition at line 41 of file qv4dateobject_p.h.

◆ toQDate()

QDate Date::toQDate ( ) const

Definition at line 677 of file qv4dateobject.cpp.

◆ toQDateTime()

QDateTime Date::toQDateTime ( ) const

Definition at line 687 of file qv4dateobject.cpp.

◆ toQTime()

QTime Date::toQTime ( ) const

Definition at line 682 of file qv4dateobject.cpp.

◆ toVariant()

QVariant Date::toVariant ( ) const

Definition at line 692 of file qv4dateobject.cpp.

◆ withReadonlyStoragePointer()

template<typename Function>
bool QV4::Date::withReadonlyStoragePointer ( Function function)
inline

Definition at line 65 of file qv4dateobject_p.h.

References operator double().

Here is the call graph for this function:

◆ withWriteonlyStoragePointer()

template<typename Function>
bool QV4::Date::withWriteonlyStoragePointer ( Function function,
ExecutionEngine * engine )
inline

Definition at line 88 of file qv4dateobject_p.h.

References init().

Here is the call graph for this function:

Member Data Documentation

◆ MaxDateVal

quint64 QV4::Date::MaxDateVal = 8.64e15
staticconstexpr

Definition at line 32 of file qv4dateobject_p.h.


The documentation for this struct was generated from the following files: