/*!
\class ExtDateTime extdatetime.h
- \reentrant
\brief The ExtDateTime class provides date and time functions.
\ingroup time
- \mainclass
A ExtDateTime object contains a calendar date and a clock time (a
"datetime"). It is a combination of the ExtDate and QTime classes.
The range of a datetime object is constrained to the ranges of the
ExtDate and QTime objects which it embodies.
+ Methods in this class are reentrant.
+
\sa ExtDate QTime ExtDateTimeEdit
*/
\ingroup advanced
\ingroup time
- \mainclass
ExtDateEdit allows the user to edit dates by using the keyboard or
the arrow keys to increase/decrease date values. The arrow keys
separator will be taken from the systems settings. If that is
not possible, it defaults to "-".
- \img datetimewidgets.png Date Time Widgets
+ \image html datetimewidgets.png "Date Time Widgets"
\sa ExtDate QTimeEdit ExtDateTimeEdit
*/
The rules applied are as follows:
- \list
- \i if the day is larger than the number of days in the month,
- \i it is reset to that number
- \i If the year has four digits it is left unchanged.
- \i If the year has two digits, the year will be changed to four
- digits in the range current year - 70 to current year + 29.
- \i If the year has three digits in the range 100..999, the
- current millennium, i.e. 2000, will be added giving a year
- in the range 2100..2999.
- \endlist
+ - if the day is larger than the number of days in the month,
+ - it is reset to that number
+ - If the year has four digits it is left unchanged.
+ - If the year has two digits, the year will be changed to four
+ digits in the range current year - 70 to current year + 29.
+ - If the year has three digits in the range 100..999, the
+ current millennium, i.e. 2000, will be added giving a year
+ in the range 2100..2999.
*/
\ingroup advanced
\ingroup time
- \mainclass
ExtDateTimeEdit consists of a ExtDateEdit and QTimeEdit widget placed
side by side and offers the functionality of both. The user can
setDateSeparator(); similarly setTimeSeparator() is used for the
time sections.
- \img datetimewidgets.png Date Time Widgets
+ \image html datetimewidgets.png "Date Time Widgets"
\sa ExtDateEdit QTimeEdit
*/