NAME
Qt::Core::QDateTime
PUBLIC METHODS
- QDateTime()
- QDateTime(const QDate & arg0)
- QDateTime(const QDateTime & other)
- QDateTime(const QDate & arg0, const QTime & arg1, Qt::TimeSpec spec)
- QDateTime(const QDate & arg0, const QTime & arg1, Qt::TimeSpec spec = Qt::LocalTime)
- ~QDateTime()
- QDateTime addDays(int days)
- QDateTime addMSecs(qint64 msecs)
- QDateTime addMonths(int months)
- QDateTime addSecs(int secs)
- QDateTime addYears(int years)
- static QDateTime currentDateTime()
- static QDateTime currentDateTimeUtc()
- static qint64 currentMSecsSinceEpoch()
- QDate date()
- int daysTo(const QDateTime & arg0)
- static QDateTime fromMSecsSinceEpoch(qint64 msecs)
- static QDateTime fromString(const QString & s, Qt::DateFormat f)
- static QDateTime fromString(const QString & s, Qt::DateFormat f = Qt::TextDate)
- static QDateTime fromString(const QString & s, const QString & format)
- static QDateTime fromTime_t(uint secsSince1Jan1970UTC)
- bool isNull()
- bool isValid()
- qint64 msecsTo(const QDateTime & arg0)
- bool operator!=(const QDateTime & other)
- bool operator<(const QDateTime & other)
- bool operator<=(const QDateTime & other)
- QDateTime & operator=(const QDateTime & other)
- bool operator==(const QDateTime & other)
- bool operator>(const QDateTime & other)
- bool operator>=(const QDateTime & other)
- int secsTo(const QDateTime & arg0)
- void setDate(const QDate & date)
- void setMSecsSinceEpoch(qint64 msecs)
- void setTime(const QTime & time)
- void setTimeSpec(Qt::TimeSpec spec)
- void setTime_t(uint secsSince1Jan1970UTC)
- void setUtcOffset(int seconds)
- QTime time()
- Qt::TimeSpec timeSpec()
- QDateTime toLocalTime()
- qint64 toMSecsSinceEpoch()
- QString toString(Qt::DateFormat f)
- QString toString(Qt::DateFormat f = Qt::TextDate)
- QString toString(const QString & format)
- QDateTime toTimeSpec(Qt::TimeSpec spec)
- uint toTime_t()
- QDateTime toUTC()
- int utcOffset()
ENUM VALUES
EXPORT
None by default.
AUTHOR
Dongxu Ma <dongxu@cpan.org>
COPYRIGHT AND LICENSE
Copyright (C) 2011 - 2011 by Dongxu Ma
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.