Hello, is this DatePicker able to get and handle invalid input from user? I

Hello, is this DatePicker able to get and handle invalid input from user?
I need to parse specific input from user and direct them to specific dates programmatically.