Custom DatePicker
<p>I have two queries...
I am about to write a custom DatePicker where in could control the number of components as well. Like Date and Month only and no Year.</p>

<p>Q1) Do you have any custom code already available which takes care of leap year logic?
Q2) I thought of writing separate arrays of days... but writing numbers from 1 to 31 and then then repeating it for different months is annoying. Any better solution here?</p>
