Eneboo - Documentación para desarrolladores
|
#include <FLFieldDB.h>
Métodos públicos | |
FLDateEdit (QWidget *parent=0, const char *name=0) | |
Métodos protegidos | |
void | fix () |
FLDateEdit::FLDateEdit | ( | QWidget * | parent = 0 , |
const char * | name = 0 |
||
) | [inline] |
void FLDateEdit::fix | ( | ) | [protected, virtual] |
Attempts to fix any invalid date entries.
The rules applied are as follows:
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. If the day or month is 0 then it will be set to 1 or the minimum valid day in the range.
Reimplementado de QDateEdit.