title: Subtracting days in a Calendar object
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/212321/anyone-know-a-simple-way-using-java-calendar-to-subtract-x-days-to-a-date">Anyone know a simple way using java calendar to subtract X days to a date?</a>  </p>
  </blockquote>
  
  
  
  <p>I need to minus 365 days in a given date (givenDate)-</p>
  
  <pre><code>Calendar calendar = Calendar.getInstance();
  calendar.setTime(givenDate);
  calendar.add(Calendar.DATE, -365);  
  </code></pre>
  
  <p>Am I right?</p>