title: Addition and Subtraction of Dates in Java
body: <p>How can we add or subtract date in java? For instance <code>java.sql.Date</code> and formatted like this: <em>yyyy-MM-dd</em>, how can i Add 5 months from that? I've seen in some tutorial that they are using <code>Calendar</code>, can we set date on it? Please Help.</p>
  
  <p>Example: <code>2012-01-01</code> when added 5 months will become <code>2012-06-01</code>.</p>
  
  <p><em>PS: I'm a .Net Programmer and slowly learning to Java environment.</em></p>