title: How to find out adjusted hour in scala
body: <p>I have some examples:</p>
  
  <ul>
  <li><p>case1. <code>val date1 = new DateTime("2015-08-03T04:59:00.000")</code></p>
  
  <p>output: <code>new DateTime("2015-08-03T04:00:00.000")</code></p></li>
  <li><p>case2. <code>val date2 = new DateTime("2015-08-03T04:15:00.000")</code></p>
  
  <p>output: <code>new DateTime("2015-08-03T04:00:00.000")</code></p></li>
  </ul>
  
  <p>means for any datetime if the time is more the 1 minute output should be start of hour. Example for day: <code>datetime.withTimeAtStartOfDay</code>.</p>