title: Java: I have joda Start and End DateTime, how would I slice it into N pieces?
body: <p>I have a start Date and end Date and hence I have a duration it could be a small duration in hours or it could be a long duration in years, how can I slice it up in number of equal pieces of duration, for example :</p>
  
  <p>below duration is of approx. 1 month</p>
  
  <pre><code>startDate = 2017-03-01 00:00:00.000Z
  endDate = 2017-04-01 00:00:00.000Z
  </code></pre>
  
  <p>How would I slice it up in 2 equal pieces ?
  something like below :</p>
  
  <pre><code>startDate1 =  2017-03-01 00:00:00.000Z
  endDate1 = 2017-03-15 00:00:00.000Z
  
  startDate2 = 2017-03-15 00:00:00.000Z
  endDate2 = 2017-04-01 00:00:00.000Z
  </code></pre>