title: How to add days to java.sql.date?
body: <p>Here is my program, I tried</p>
  
  <pre><code>java.sql.Date logicalDate;
  Calendar c = Calendar.getInstance(); 
  c.setTime(logicalDate); 
  c.add(Calendar.DATE, 1);
  </code></pre>
  
  <p>The line below is showing an error the constructor Date(date) is undefined</p>
  
  <pre><code>java.sql.Date startDate= new java.sql.Date(c.getTime());
  </code></pre>
  
  <p>How do I add 1 day to java.sql.Date logicalDate?</p>