| 430 | // ***** Endpoint for ValidatorBefore with time zone ***** |
| 431 | C_ATTR(beforeValidWithTimeZone, :Local :AutoArgs) |
| 432 | void beforeValidWithTimeZone(Context *c) |
| 433 | { |
| 434 | Validator v({new ValidatorBefore(u"after_field"_s, |
| 435 | QDateTime(QDate(2018, 1, 15), |
| 436 | QTime(12, 0), |
| 437 | QTimeZone(QByteArrayLiteral("America/Tijuana"))), |
| 438 | u"Europe/Berlin"_s, |
| 439 | nullptr, |
| 440 | m_validatorMessages)}); |
| 441 | checkResponse(c, v.validate(c)); |
| 442 | } |
| 443 | |
| 444 | // ***** Endpoint for ValidatorBefore with time zone in iput field ***** |
| 445 | C_ATTR(beforeValidWithTimeZoneField, :Local :AutoArgs) |