Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QOCIDateTime Class Reference
+ Collaboration diagram for QOCIDateTime:

Public Member Functions

 QOCIDateTime (OCIEnv *env, OCIError *err, const QDateTime &dt=QDateTime())
 
 ~QOCIDateTime ()
 

Static Public Member Functions

static QDateTime fromOCIDateTime (OCIEnv *env, OCIError *err, OCIDateTime *dt)
 

Public Attributes

OCIDateTime * dateTime
 

Detailed Description

Definition at line 120 of file qsql_oci.cpp.

Constructor & Destructor Documentation

◆ QOCIDateTime()

QOCIDateTime::QOCIDateTime ( OCIEnv env,
OCIError *  err,
const QDateTime dt = QDateTime() 
)

Definition at line 129 of file qsql_oci.cpp.

References date, QDateTime::date(), dateTime, QDate::day(), QTime::hour(), QDateTime::isValid(), QString::length(), QTime::minute(), QDate::month(), QTime::msec(), QTime::second(), time, QDateTime::time(), QString::utf16(), and QDate::year().

+ Here is the call graph for this function:

◆ ~QOCIDateTime()

QOCIDateTime::~QOCIDateTime ( )

Definition at line 145 of file qsql_oci.cpp.

References dateTime.

Member Function Documentation

◆ fromOCIDateTime()

QDateTime QOCIDateTime::fromOCIDateTime ( OCIEnv env,
OCIError *  err,
OCIDateTime *  dt 
)
static

Definition at line 151 of file qsql_oci.cpp.

References dateTime, QTimeZone::fromSecondsAheadOfUtc(), and qAbs().

Referenced by QOCICols::execBatch(), QOCICols::getValues(), and qOraOutValue().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ dateTime

OCIDateTime* QOCIDateTime::dateTime

Definition at line 125 of file qsql_oci.cpp.

Referenced by QOCIDateTime(), ~QOCIDateTime(), fromOCIDateTime(), and qOraOutValue().


The documentation for this class was generated from the following file: