title: Creating a temporary copy of a Calendar object in Java
body: <p>I need to figure out how to create a temporary <code>Calendar</code> object (a copy of a &quot;permanent&quot; calendar that already exists) so that I can manipulate the copy: <code>tempCal.add(unit, value)</code>.  I need to keep the original calendar object unchanged, so I really don't want to call <code>add(unit, value)</code> on it directly.</p>
  <p>Since none of my attempts at creating a copy actually worked, my current ugly hack is to call <code>permanentCal.add(unit, value)</code>, display the desired results, then call <code>permanentCal.add (unit, -value)</code> — which just seems, uncool.</p>