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

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