title: How to skip weekends while adding days to LocalDate in Java 8?
body: <p>Other answers here refer to Joda API. 
  I want to do it using <code>java.time</code>.</p>
  
  <p>Suppose today's date is 26th Nov 2015-Thursday, when I add 2 business days to it,
  I want the result as Monday 30th Nov 2015.</p>
  
  <p>I am working on my own implementation but it would be great if something already exists!</p>
  
  <p>EDIT:</p>
  
  <p>Is there a way to do it apart from looping over?</p>
  
  <p>I was trying to derive a function like:</p>
  
  <pre><code>Y = f(X1,X2) where
  Y is actual number of days to add,
  X1 is number of business days to add, 
  X2 is day of the week (1-Monday to 7-Sunday)
  </code></pre>
  
  <p>Then given <code>X1</code> and <code>X2</code> (derived from day of week of the date), we can find <code>Y</code> and then use <code>plusDays()</code> method of <code>LocalDate</code>. </p>
  
  <p>I have not been able to derive it so far, its not consistent. Can anyone confirm that looping over until desired number of workdays are added is the only way?</p>