Add timepicker() and datetimepicker() to class DatePicker