Restrict DatePicker by Specific Dates

Restrict DatePicker by Specific Dates


I want to use the DatePicker to only allow specific dates which I'll
specify in an array to be shown.
Does anyone know how to do this?