NAME
Qt::Core::QDate
PUBLIC METHODS
- QDate()
- QDate(int y, int m, int d)
- QDate addDays(int days)
- QDate addMonths(int months)
- QDate addYears(int years)
- static QDate currentDate()
- int day()
- int dayOfWeek()
- int dayOfYear()
- int daysInMonth()
- int daysInYear()
- int daysTo(const QDate & arg0)
- static QDate fromJulianDay(int jd)
- static QDate fromString(const QString & s, Qt::DateFormat f)
- static QDate fromString(const QString & s, Qt::DateFormat f = Qt::TextDate)
- static QDate fromString(const QString & s, const QString & format)
- void getDate(int * year, int * month, int * day)
- static uint gregorianToJulian(int y, int m, int d)
- static bool isLeapYear(int year)
- bool isNull()
- bool isValid()
- static bool isValid(int y, int m, int d)
- static void julianToGregorian(uint jd, int & y, int & m, int & d)
- static QString longDayName(int weekday)
- static QString longDayName(int weekday, QDate::MonthNameType type)
- static QString longMonthName(int month)
- static QString longMonthName(int month, QDate::MonthNameType type)
- int month()
- bool operator!=(const QDate & other)
- bool operator<(const QDate & other)
- bool operator<=(const QDate & other)
- bool operator==(const QDate & other)
- bool operator>(const QDate & other)
- bool operator>=(const QDate & other)
- bool setDate(int year, int month, int day)
- bool setYMD(int y, int m, int d)
- static QString shortDayName(int weekday)
- static QString shortDayName(int weekday, QDate::MonthNameType type)
- static QString shortMonthName(int month)
- static QString shortMonthName(int month, QDate::MonthNameType type)
- int toJulianDay()
- QString toString(Qt::DateFormat f)
- QString toString(Qt::DateFormat f = Qt::TextDate)
- QString toString(const QString & format)
- int weekNumber(int * yearNum)
- int weekNumber(int * yearNum = 0)
- int year()
ENUM VALUES
- DateFormat
- StandaloneFormat
EXPORT
None by default.
AUTHOR
Dongxu Ma <dongxu@cpan.org>
COPYRIGHT AND LICENSE
Copyright (C) 2011 - 2012 by Dongxu Ma
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.