Extend Vaadin.DateTimePickerElement to create your own custom element, then override the checkValidity(value) method to validate the input.
Vaadin.DateTimePickerElement
checkValidity(value)