forked from https://github.com/purplecabbage/phonegap-plugins/tree/master/Android/DatePicker