title: How to increment time by 10 minute intervals
body: <p>For a certain date (this is a hard coded date), I want to increment through the time for <code>LastModifiedTimeFrom</code> and <code>LastModifiedTimeTo</code> by 10 minutes each time.</p>
  
  <p>I have tried the below but it is not performing the increment and I am not sure why?</p>
  
  <pre><code>Date d = Date.parse("HH:mm:ss", "00:00:00")
  Calendar c = Calendar.getInstance()
  c.setTime(d)
  
  c.add(MINUTE, 10)
  assert c.time == "00:10:00"
  
  c.add(MINUTE, 10)
  assert c.time == "00:20:00"
  
  c.add(MINUTE, 10)
  assert c.time == "00:30:00"
  </code></pre>