qBool IsValid() const;
None.
Value | Description |
---|---|
true |
Valid time. |
false |
Invalid time. |
Returns whether the set time is valid.
This function does not check the number of days for a specific month, or whether it is a leap year. It only checks whether the date is within a valid range.
CONFIDENTIAL