API reference - Class QDateTimeNotation used in Ruby API documentation Description: Binding of QDateTime Public constructors
Public methods
Public static methods and constants
Detailed description[const] bool !=(const QDateTime other)Description: Method bool QDateTime::operator!=(const QDateTime &other) [const] bool <(const QDateTime other)Description: Method bool QDateTime::operator<(const QDateTime &other) [const] bool <=(const QDateTime other)Description: Method bool QDateTime::operator<=(const QDateTime &other) [const] bool ==(const QDateTime other)Description: Method bool QDateTime::operator==(const QDateTime &other) [const] bool >(const QDateTime other)Description: Method bool QDateTime::operator>(const QDateTime &other) [const] bool >=(const QDateTime other)Description: Method bool QDateTime::operator>=(const QDateTime &other) [const] QDateTime addDays(int days)Description: Method QDateTime QDateTime::addDays(int days) [const] QDateTime addMSecs(long long msecs)Description: Method QDateTime QDateTime::addMSecs(qint64 msecs) [const] QDateTime addMonths(int months)Description: Method QDateTime QDateTime::addMonths(int months) [const] QDateTime addSecs(int secs)Description: Method QDateTime QDateTime::addSecs(int secs) [const] QDateTime addYears(int years)Description: Method QDateTime QDateTime::addYears(int years) QDateTime assign(const QDateTime other)Description: Method QDateTime &QDateTime::operator=(const QDateTime &other) [const] void assign(const QDateTime other)Description: Assign the contents of another object to self This method assigns the contents of another object to self. This is a deep copy that does not only copy the reference but the actual content. void createDescription: Ensures the C++ object is created Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created. [static] QDateTime currentDateTimeDescription: Static method QDateTime QDateTime::currentDateTime() This method is static and can be called without an instance. [const] QDate dateDescription: Method QDate QDateTime::date() void date=(const QDate date)Description: Method void QDateTime::setDate(const QDate &date) [const] int daysTo(const QDateTime arg1)Description: Method int QDateTime::daysTo(const QDateTime &) void destroyDescription: Explicitly destroy the object Explicitly destroy the object on C++ side if it was owned by the Ruby interpreter. Subsequent access to this object will throw an exception. If the object is not owned by Ruby, this method will do nothing. [const] bool destroyed?Description: Returns a value indicating whether the object was already destroyed This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself. [const] QDateTime dupDescription: Creates a copy of self [static] QDateTime fromString(string s,const Qt_DateFormat f = Qt::TextDate)Description: Static method QDateTime QDateTime::fromString(const QString &s, Qt::DateFormat f) This method is static and can be called without an instance. [static] QDateTime fromString(string s,string format)Description: Static method QDateTime QDateTime::fromString(const QString &s, const QString &format) This method is static and can be called without an instance. [static] QDateTime fromTime_t(unsigned int secsSince1Jan1970UTC)Description: Static method QDateTime QDateTime::fromTime_t(unsigned int secsSince1Jan1970UTC) This method is static and can be called without an instance. [const] bool isNullDescription: Method bool QDateTime::isNull() [const] bool isNull?Description: Method bool QDateTime::isNull() [const] bool isValidDescription: Method bool QDateTime::isValid() [const] bool isValid?Description: Method bool QDateTime::isValid() [const] bool is_const_object?Description: Returns a value indicating whether the reference is a const reference This method returns true, if self is a const reference. In that case, only const methods may be called on self. [static] new QDateTime newDescription: Constructor QDateTime::QDateTime() This method creates an object of class QDateTime. [static] new QDateTime new(const QDate arg1)Description: Constructor QDateTime::QDateTime(const QDate &) This method creates an object of class QDateTime. [static] new QDateTime new(const QDate arg1,const QTime arg2,const Qt_TimeSpec spec = Qt::LocalTime)Description: Constructor QDateTime::QDateTime(const QDate &, const QTime &, Qt::TimeSpec spec) This method creates an object of class QDateTime. [static] new QDateTime new(const QDateTime other)Description: Constructor QDateTime::QDateTime(const QDateTime &other) This method creates an object of class QDateTime. [const] int secsTo(const QDateTime arg1)Description: Method int QDateTime::secsTo(const QDateTime &) void setDate(const QDate date)Description: Method void QDateTime::setDate(const QDate &date) void setTime(const QTime time)Description: Method void QDateTime::setTime(const QTime &time) void setTimeSpec(const Qt_TimeSpec spec)Description: Method void QDateTime::setTimeSpec(Qt::TimeSpec spec) void setTime_t(unsigned int secsSince1Jan1970UTC)Description: Method void QDateTime::setTime_t(unsigned int secsSince1Jan1970UTC) void setUtcOffset(int seconds)Description: Method void QDateTime::setUtcOffset(int seconds) [const] QTime timeDescription: Method QTime QDateTime::time() void time=(const QTime time)Description: Method void QDateTime::setTime(const QTime &time) [const] Qt_TimeSpec timeSpecDescription: Method Qt::TimeSpec QDateTime::timeSpec() void timeSpec=(const Qt_TimeSpec spec)Description: Method void QDateTime::setTimeSpec(Qt::TimeSpec spec) [const] QDateTime toLocalTimeDescription: Method QDateTime QDateTime::toLocalTime() [const] string toString(const Qt_DateFormat f = Qt::TextDate)Description: Method QString QDateTime::toString(Qt::DateFormat f) [const] string toString(string format)Description: Method QString QDateTime::toString(const QString &format) [const] QDateTime toTimeSpec(const Qt_TimeSpec spec)Description: Method QDateTime QDateTime::toTimeSpec(Qt::TimeSpec spec) [const] unsigned int toTime_tDescription: Method unsigned int QDateTime::toTime_t() [const] QDateTime toUTCDescription: Method QDateTime QDateTime::toUTC() [const] int utcOffsetDescription: Method int QDateTime::utcOffset() void utcOffset=(int seconds)Description: Method void QDateTime::setUtcOffset(int seconds) |