title: edit how jquery ui calculates number of days in a month
body: <p>I want to edit the jQuery UI <strong>datepicker</strong> , to work with <strong>hijri</strong> date , now the plugin calculates the number of days in each month on its own using </p>
  
  <blockquote>
    <p>"<strong>_getDaysInMonth</strong>"</p>
  </blockquote>
  
  <p>in the jQuery UI plugin , how can i update that function without editing the library it self ?</p>
  
  <p>and can i use the jQuery <strong>widget factory</strong> to implement this ? would it just override that main function in the jQuery UI library </p>