Added datePicker property so every property of the datePicker can be controlled. Also added some documentation.