| 444 | // ***** Endpoint for ValidatorBefore with time zone in iput field ***** |
| 445 | C_ATTR(beforeValidWithTimeZoneField, :Local :AutoArgs) |
| 446 | void beforeValidWithTimeZoneField(Context *c) |
| 447 | { |
| 448 | Validator v({new ValidatorBefore(u"after_field"_s, |
| 449 | QDateTime(QDate(2018, 1, 15), |
| 450 | QTime(12, 0), |
| 451 | QTimeZone(QByteArrayLiteral("America/Tijuana"))), |
| 452 | u"tz_field"_s, |
| 453 | nullptr, |
| 454 | m_validatorMessages)}); |
| 455 | checkResponse(c, v.validate(c)); |
| 456 | } |
| 457 | |
| 458 | // ***** Endpoint for ValidatorBetween with int ****** |
| 459 | C_ATTR(betweenInt, :Local :AutoArgs) |