| 370 | // ***** Endpoint for ValidatorBefore with QDate ****** |
| 371 | C_ATTR(beforeDate, :Local :AutoArgs) |
| 372 | void beforeDate(Context *c) |
| 373 | { |
| 374 | Validator v({new ValidatorBefore( |
| 375 | u"before_field"_s, QDate::currentDate(), QString{}, nullptr, m_validatorMessages)}); |
| 376 | checkResponse(c, v.validate(c)); |
| 377 | } |
| 378 | |
| 379 | // ***** Endpoint for ValidatorBefore with QTime ****** |
| 380 | C_ATTR(beforeTime, :Local :AutoArgs) |