title: for loop for time
body: <p>I am having problem in creating a function like this in Java:</p>
  
  <pre><code>for(i=initial Time ; i&lt;some final time ; i imcrement by 15 sec )
  {
      System.out.println(i);
  }
  </code></pre>
  
  <p>any suggestions are cordially accepted.
  <hr/>
  The requirement is that we generate different time values increased by 15 seconds , its not like we need to execute every 15 seconds</p>