made datatime picker methods public