title: Select all the dates in a year
body: <p>I have a list of date and I want them to be enabled in the calendarwidget of my application. The calendar widgets allows me to give only the list of dates that needs to disabled.</p>
  
  <p><a href="https://i.stack.imgur.com/ubFWl.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ubFWl.jpg" alt="enter image description here"></a></p>
  
  <p>I can convert the above dates in to the format 2015-3-6,2015-3-8,2015-3-7,2015-5-4,2015-5-7,2015-5-12,2015-6-16,2015-7-2,2015-10-19</p>
  
  <p>But I need to get the rest of the dates expect the above dates in the calendar in the above format. I am not sure how do I get. Any idea to how I can achieve this is really appreciated</p>