DateTimeFormatConstraint
class DateTimeFormatConstraint extends Constraint (View source)
Validation constraint for DateTime items to ensure the format is correct.
Properties
| string | $badType | Message for when the value isn't a string. |
|
| string | $badFormat | Message for when the value isn't in the proper format. |
|
| string | $badValue | Message for when the value did not parse properly. |