How to add date type format to a webcomponent.

Hi All ,

I am developing a calender type webcomponent . I want to have a format property in which the datetime options should come . Now we are having only the string format properties .

 "format" : {"for":["dataProviderID"] , "type" :"format"}

How can I show datetype formats ? . Please provide some suggestions