title: Difference between two dates, including only business days (i.e. excluding weekends and holidays)
body: <p>How can I get the number of business days between two <code>java.util.Date</code>, i.e. excluding weekends and holidays? By holidays, I mean <a href="http://feiertagskalender.ch/index.php?geo=3537&amp;hl=en" rel="nofollow">legally recognized holidays</a>. It must be depending on the country, because of the holidays that are different from a country to another.</p>
  
  <p>For example, <code>2012-08-27 - 2012-08-24</code> should return <code>1</code> instead of <code>3</code>, because of the weekend inbetween.</p>
  
  <p>I already had a look on <a href="http://jollyday.sourceforge.net/" rel="nofollow">Jollyday</a> and <a href="http://objectlabkit.sourceforge.net/" rel="nofollow">ObjectLab-Kit</a>, but I can't make them meet my need. I mean, both of them have a lot of interesting methods, but can't find something like <code>getBusinessDaysCount(Date d1, Date d2)</code>...</p>