Implement universal handlers for DatePicker.