以下成員源於類 QDate 已過時。 提供它們是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它們。
(obsolete)
bool
|
setYMD (int y , int m , int d ) |
Sets the date's year y , month m , and day d .
若
y
is in the range 0 to 99, it is interpreted as 1900 to 1999. Returns
false
if the date is invalid.
使用 setDate () 代替。