(82d85c16d912b25bfa5b0a081e515fcecda1f975)
Go to the source code of this file.
|
QDate | d1 (1995, 5, 17) |
| [0]
|
|
QDate | d2 (1995, 5, 20) |
|
QDate | date = QDate::fromString("1MM12car2003", "d'MM'MMcaryyyy") |
| [0]
|
|
QTime | n (14, 0, 0) |
| [4]
|
|
QTime | t = n.addSecs(70) |
|
QTime | time = QTime::fromString("1mm12car00", "m'mm'hcarss") |
| [5]
|
|
QDateTime | now = QDateTime::currentDateTime() |
| [9]
|
|
QDateTime | xmas (QDate(now.date().year(), 12, 25).startOfDay()) |
|
QTime | time1 = QTime::fromString("131", "HHh") |
| [11]
|
|
QDateTime | dateTime2 |
|
QDateTime | dateTime = QDateTime::fromString("130", "Mm") |
| [12]
|
|
QDateTime | startDate (QDate(2012, 7, 6), QTime(8, 30, 0)) |
| [14]
|
|
QDateTime | endDate (QDate(2012, 7, 7), QTime(16, 30, 0)) |
|
◆ daysTo() [1/2]
◆ daysTo() [2/2]
◆ qDebug()
qDebug |
( |
"There are %d seconds to Christmas" | , |
|
|
now. | secsToxmas ) |
◆ d1
QDate d1 |
( |
1995 | , |
|
|
5 | , |
|
|
17 | ) |
◆ d2
QDate d2 |
( |
1995 | , |
|
|
5 | , |
|
|
20 | ) |
◆ date
◆ dateTime
◆ dateTime2
◆ endDate
QTime n(14, 0, 0) |
( |
14 | , |
|
|
0 | , |
|
|
0 | ) |
◆ now
◆ startDate
◆ time
◆ time1
◆ xmas