Changeset View
Changeset View
Standalone View
Standalone View
src/utils/datetime.h
Show All 19 Lines | 1 | /* This file is part of Zanshin | |||
---|---|---|---|---|---|
20 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, | 20 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, | ||
21 | USA. | 21 | USA. | ||
22 | */ | 22 | */ | ||
23 | 23 | | |||
24 | #ifndef UTILS_DATETIME | 24 | #ifndef UTILS_DATETIME | ||
25 | #define UTILS_DATETIME | 25 | #define UTILS_DATETIME | ||
26 | 26 | | |||
27 | class QDateTime; | 27 | class QDateTime; | ||
28 | class QDate; | ||||
28 | 29 | | |||
29 | namespace Utils { | 30 | namespace Utils { | ||
30 | 31 | | |||
31 | namespace DateTime | 32 | namespace DateTime | ||
32 | { | 33 | { | ||
33 | QDateTime currentDateTime(); | 34 | QDateTime currentDateTime(); | ||
35 | QDate currentDate(); | ||||
34 | } | 36 | } | ||
35 | 37 | | |||
36 | } | 38 | } | ||
37 | 39 | | |||
38 | #endif // UTILS_DATETIME | 40 | #endif // UTILS_DATETIME |