QDate Class Reference
Constructor
- void QDate()
- void QDate(int y, int m, int d)
Constructor Properties
- prototype: The QDate prototype object
- QDate currentDate()
- QDate fromJulianDay(qint64 jd)
- QDate fromString(String s, DateFormat f)
- bool isLeapYear(int year)
- bool isValid(int y, int m, int d)
- String longDayName(int weekday, MonthNameType type)
- String longMonthName(int month, MonthNameType type)
- String shortDayName(int weekday, MonthNameType type)
- String shortMonthName(int month, MonthNameType type)
- DateFormat = 0
- StandaloneFormat
- MonthNameType( value )
Prototype Object Properties
- QDate addDays(qint64 days)
- QDate addMonths(int months)
- QDate addYears(int years)
- int day()
- int dayOfWeek()
- int dayOfYear()
- int daysInMonth()
- int daysInYear()
- qint64 daysTo(QDate arg__1)
- void getDate(int year, int month, int day)
- bool isNull()
- bool isValid()
- int month()
- bool operator_equal(QDate other)
- bool operator_less(QDate other)
- bool setDate(int year, int month, int day)
- qint64 toJulianDay()
- String toString(DateFormat f)
- int weekNumber(int yearNum)
- int year()
Instance Properties
QDate objects have no special properties beyond those inherited from the QDate prototype object.