title: Jodatime start of day and end of day
body: <p>I want to create an interval between the beginning of the week, and the end of the current week.</p>
  <p>I have the following code, borrowed from <a href="https://stackoverflow.com/a/1636213/675383">this answer</a>:</p>
  <pre><code>private LocalDateTime calcNextSunday(LocalDateTime d) {
      if (d.getDayOfWeek() &gt; DateTimeConstants.SUNDAY) {
          d = d.plusWeeks(1);
      }
      return d.withDayOfWeek(DateTimeConstants.SUNDAY);
  }
  
  private LocalDateTime calcPreviousMonday(LocalDateTime d) {
      if (d.getDayOfWeek() &lt; DateTimeConstants.MONDAY) {
          d = d.minusWeeks(1);
      }
      return d.withDayOfWeek(DateTimeConstants.MONDAY);
  }
  </code></pre>
  <p>But now I want the Monday <code>LocalDateTime</code> to  be at 00:00:00, and the Sunday <code>LocalDateTime</code> at 23:59:59. How would I do this?</p>