add block based API to date picker
Merge pull request #56 from mrtj/datePickerBlocks

add block based API to date picker